public class ThresholdDoubleArrayKernelPerceptron extends DoubleArrayKernelPerceptron
KernelPerceptron which works with
double array inputs and is binary.supports, weightserrors| 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, updategetErrors, processpublic 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