public class KernelizedPerceptron extends Perceptron implements KernelMethod
[Rosenblatt1957] F. Rosenblatt. The Perceptron – a perceiving and recognizing automaton. Report 85-460-1, Cornell Aeronautical Laboratory (1957)
alpha, classifier, label, margin, unbiased| Constructor and Description |
|---|
KernelizedPerceptron() |
KernelizedPerceptron(float alpha,
float margin,
boolean unbiased,
Kernel kernel,
Label label) |
| Modifier and Type | Method and Description |
|---|---|
KernelizedPerceptron |
duplicate()
Creates a new instance of the LearningAlgorithm initialized with the same parameters
of the learningAlgorithm to be duplicated.
|
Kernel |
getKernel()
Returns the kernel exploited by this learner
|
BinaryKernelMachineClassifier |
getPredictionFunction()
Returns the classifier learned during the training process
|
void |
setKernel(Kernel kernel)
Sets the kernel this
|
getAlpha, getLabel, getLabels, getMargin, isUnbiased, learn, learn, reset, setAlpha, setLabel, setLabels, setMargin, setUnbiasedpublic Kernel getKernel()
KernelMethodgetKernel in interface KernelMethodpublic void setKernel(Kernel kernel)
KernelMethodsetKernel in interface KernelMethodkernel - the kernel to setpublic KernelizedPerceptron duplicate()
LearningAlgorithmduplicate in interface LearningAlgorithmpublic BinaryKernelMachineClassifier getPredictionFunction()
ClassificationLearningAlgorithmgetPredictionFunction in interface ClassificationLearningAlgorithmgetPredictionFunction in interface LearningAlgorithmgetPredictionFunction in class PerceptronCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.