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

Go to the source code of this file.

Classes

class  SoftMarginLoss< InputDataType, OutputDataType >
 

Namespaces

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

Detailed Description

Author
Anjishnu Mukherjee

Definition of the Soft Margin Loss function.

It is a criterion that optimizes a two-class classification logistic loss, between input x and target y, both having the same shape, with the target containing only the values 1 or -1.

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 soft_margin_loss.hpp.