public class MarginMeanCenteredPerceptron extends MeanCenteredKernelPerceptron
supports, weights
errors
Constructor and Description |
---|
MarginMeanCenteredPerceptron(VectorKernel kernel) |
MarginMeanCenteredPerceptron(VectorKernel kernel,
double margin) |
Modifier and Type | Method and Description |
---|---|
void |
process(double[] xt,
PerceptronClass yt) |
correct, getMean, getSupports, update
getBias, getWeights, mapping, predict
getErrors
public MarginMeanCenteredPerceptron(VectorKernel kernel, double margin)
kernel
- margin
- public MarginMeanCenteredPerceptron(VectorKernel kernel)
kernel
- public void process(double[] xt, PerceptronClass yt)
process
in interface OnlineLearner<double[],PerceptronClass>
process
in class KernelPerceptron<double[],PerceptronClass>