Class Averaged Perceptron implements the standard linear (online) algorithm. Averaged perceptron is the simple extension of Perceptron.
Given a maximum number of iterations (the standard averaged perceptron algorithm is not guaranteed to converge) and a fixed lerning rate, the result is a linear classifier.
- See also:
Definition at line 30 of file AveragedPerceptron.h.
List of all members.
Constructor & Destructor Documentation
|traindat ||training features |
|trainlab ||labels for training features |
Definition at line 21 of file AveragedPerceptron.cpp.
Member Function Documentation
|virtual const char* get_name
|| data =
|data ||training data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data)|
- whether training was successful
Reimplemented from CMachine.
Definition at line 32 of file AveragedPerceptron.cpp.
Member Data Documentation
The documentation for this class was generated from the following files: