public class MeanCenteredKernelPerceptron extends DoubleArrayKernelPerceptron
supports, weights
errors
Constructor and Description |
---|
MeanCenteredKernelPerceptron(VectorKernel k) |
Modifier and Type | Method and Description |
---|---|
double[] |
correct(double[] in) |
double[] |
getMean() |
List<double[]> |
getSupports() |
void |
update(double[] xt,
PerceptronClass yt,
PerceptronClass yt_prime)
When there is an error in prediction, update somehow
|
getBias, getWeights, mapping, predict
getErrors, process
public MeanCenteredKernelPerceptron(VectorKernel k)
k
- public void update(double[] xt, PerceptronClass yt, PerceptronClass yt_prime)
KernelPerceptron
update
in class DoubleArrayKernelPerceptron
public double[] correct(double[] in)
public List<double[]> getSupports()
getSupports
in class DoubleArrayKernelPerceptron
public double[] getMean()