Go to the source code of this file.
Classes | |
class | MultiLabelSoftMarginLoss< InputDataType, OutputDataType > |
Namespaces | |
mlpack | |
Linear algebra utility functions, generally performed on matrices or vectors. | |
mlpack::ann | |
Artificial Neural Network. | |
Definition of the Multi Label Soft Margin Loss function.
It is a criterion that optimizes a multi-label one-versus-all loss based on max-entropy, between input x and target y of size (N, C) where N is the batch size and C is the number of classes.
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 multilabel_softmargin_loss.hpp.