10 #ifndef _AVERAGEDPERCEPTRON_H___
11 #define _AVERAGEDPERCEPTRON_H___
66 virtual const char*
get_name()
const {
return "AveragedPerceptron"; }
virtual const char * get_name() const
MACHINE_PROBLEM_TYPE(PT_BINARY)
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...
virtual EMachineType get_classifier_type()
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 bool train_machine(CFeatures *data=NULL)
void set_max_iter(int32_t i)
set maximum number of iterations