public class MeanCenteredProjectron extends Projectron
supports, weights
errors
Constructor and Description |
---|
MeanCenteredProjectron(VectorKernel kernel) |
MeanCenteredProjectron(VectorKernel kernel,
double eta) |
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 MeanCenteredProjectron(VectorKernel kernel)
kernel
- public MeanCenteredProjectron(VectorKernel kernel, double eta)
kernel
- eta
- public void update(double[] xt, PerceptronClass yt, PerceptronClass yt_prime)
KernelPerceptron
update
in class Projectron
public double[] correct(double[] in)
public List<double[]> getSupports()
getSupports
in class DoubleArrayKernelPerceptron
public double[] getMean()