public class ThresholdDoubleArrayKernelPerceptron extends DoubleArrayKernelPerceptron
KernelPerceptron
which works with
double array inputs and is binary.supports, weights
errors
Constructor and Description |
---|
ThresholdDoubleArrayKernelPerceptron(double weight,
double threshold,
VectorKernel k) |
ThresholdDoubleArrayKernelPerceptron(VectorKernel k) |
Modifier and Type | Method and Description |
---|---|
PerceptronClass |
predict(double[] x) |
getBias, getSupports, getWeights, mapping, update
getErrors, process
public ThresholdDoubleArrayKernelPerceptron(VectorKernel k)
public ThresholdDoubleArrayKernelPerceptron(double weight, double threshold, VectorKernel k)
public PerceptronClass predict(double[] x)
predict
in interface OnlineLearner<double[],PerceptronClass>
predict
in class DoubleArrayKernelPerceptron