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