public class ThresholdMatrixKernelPerceptron extends MatrixKernelPerceptron
KernelPerceptron
which works with
Matrix
inputs and is binary.supports, weights
errors
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, update
getErrors, process
public 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