DiSMEC++
|
#include "linear.h"
Go to the source code of this file.
Classes | |
class | dismec::objective::GenericLinearClassifier |
This is a non-templated, runtime-polymorphic generic implementation of the linear classifier objective. More... | |
struct | dismec::objective::GenericMarginClassifier< MarginFunction > |
A utility class template that, when instatiated with a MarginFunction , produces the corresponding linear classifier loss. More... | |
Namespaces | |
dismec | |
Main namespace in which all types, classes, and functions are defined. | |
dismec::objective | |
Functions | |
std::unique_ptr< GenericLinearClassifier > | dismec::objective::make_squared_hinge (std::shared_ptr< const GenericFeatureMatrix > X, std::unique_ptr< Objective > regularizer) |
std::unique_ptr< GenericLinearClassifier > | dismec::objective::make_logistic_loss (std::shared_ptr< const GenericFeatureMatrix > X, std::unique_ptr< Objective > regularizer) |
std::unique_ptr< GenericLinearClassifier > | dismec::objective::make_huber_hinge (std::shared_ptr< const GenericFeatureMatrix > X, std::unique_ptr< Objective > regularizer, real_t epsilon) |