14 #include <shogun/lib/config.h> 27 class CLMNNStatistics;
54 virtual const char*
get_name()
const;
83 int32_t
get_k()
const;
89 void set_k(
const int32_t k);
224 uint32_t m_correction;
259 virtual const char*
get_name()
const;
267 void resize(int32_t size);
float64_t get_regularization() const
CCustomMahalanobisDistance * get_distance() const
void set_regularization(const float64_t regularization)
float64_t get_stepsize() const
void set_diagonal(const bool diagonal)
SGVector< uint32_t > num_impostors
uint32_t get_correction() const
The class Labels models labels, i.e. class assignments of objects.
SGVector< float64_t > stepsize
SGMatrix< float64_t > get_linear_transform() const
Class LMNNStatistics used to give access to intermediate results obtained training LMNN...
Class LMNN that implements the distance metric learning technique Large Margin Nearest Neighbour (LMN...
Multiclass Labels for multi-class classification.
void set_maxiter(const uint32_t maxiter)
void set_stepsize_threshold(const float64_t stepsize_threshold)
Class SGObject is the base class of all shogun objects.
uint32_t get_maxiter() const
void set_k(const int32_t k)
CLMNNStatistics * get_statistics() const
float64_t get_stepsize_threshold() const
Class CustomMahalanobisDistance used to compute the distance between feature vectors and as ...
all of classes and functions are contained in the shogun namespace
void set_obj_threshold(const float64_t obj_threshold)
void train(SGMatrix< float64_t > init_transform=SGMatrix< float64_t >())
void set_correction(const uint32_t correction)
The class Features is the base class of all feature objects.
bool get_diagonal() const
void set_stepsize(const float64_t stepsize)
float64_t get_obj_threshold() const
virtual const char * get_name() const
SGVector< float64_t > obj