10 #ifndef _AVERAGEDPERCEPTRON_H___
11 #define _AVERAGEDPERCEPTRON_H___
73 inline virtual const char*
get_name()
const {
return "AveragedPerceptron"; }
virtual const char * get_name() const
The class Labels models labels, i.e. class assignments of objects.
void set_learn_rate(float64_t r)
set learn rate of gradient descent training algorithm
virtual ~CAveragedPerceptron()
Class Averaged Perceptron implements the standard linear (online) algorithm. Averaged perceptron is t...
Features that support dot products among other operations.
Class LinearMachine is a generic interface for all kinds of linear machines like classifiers.
The class Features is the base class of all feature objects.
virtual EClassifierType get_classifier_type()
virtual bool train(CFeatures *data=NULL)
void set_max_iter(int32_t i)
set maximum number of iterations