public class ThresholdMatrixKernelPerceptron extends MatrixKernelPerceptron
KernelPerceptron which works with
Matrix inputs and is binary.supports, weightserrors| Constructor and Description |
|---|
ThresholdMatrixKernelPerceptron(double weight,
double threshold,
VectorKernel k) |
ThresholdMatrixKernelPerceptron(VectorKernel k) |
| Modifier and Type | Method and Description |
|---|---|
PerceptronClass |
predict(double[] x) |
correct, getBias, getSupports, getWeights, mapping, updategetErrors, processpublic ThresholdMatrixKernelPerceptron(VectorKernel k)
public ThresholdMatrixKernelPerceptron(double weight, double threshold, VectorKernel k)
public PerceptronClass predict(double[] x)
predict in interface OnlineLearner<double[],PerceptronClass>predict in class MatrixKernelPerceptron