cosine_embedding_loss.hpp File Reference
Include dependency graph for cosine_embedding_loss.hpp:

Go to the source code of this file.

Classes

class  CosineEmbeddingLoss< InputDataType, OutputDataType >
 Cosine Embedding Loss function is used for measuring whether two inputs are similar or dissimilar, using the cosine distance, and is typically used for learning nonlinear embeddings or semi-supervised learning. More...

 

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::ann
 
Artificial Neural Network.
 

Detailed Description

Author
Kartik Dutt

Definition of the Cosine Embedding loss function.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file cosine_embedding_loss.hpp.