public class LinearPerceptron extends Perceptron implements LinearMethod
[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 |
|---|
LinearPerceptron() |
LinearPerceptron(float alpha,
float margin,
boolean unbiased,
String representation,
Label label) |
| Modifier and Type | Method and Description |
|---|---|
LinearPerceptron |
duplicate()
Creates a new instance of the LearningAlgorithm initialized with the same parameters
of the learningAlgorithm to be duplicated.
|
BinaryLinearClassifier |
getPredictionFunction()
Returns the classifier learned during the training process
|
String |
getRepresentation()
Returns the representation this learning algorithm exploits
|
void |
setRepresentation(String representation)
Sets the representation this learning algorithm will exploit
|
getAlpha, getLabel, getLabels, getMargin, isUnbiased, learn, learn, reset, setAlpha, setLabel, setLabels, setMargin, setUnbiasedpublic String getRepresentation()
LinearMethodgetRepresentation in interface LinearMethodpublic void setRepresentation(String representation)
LinearMethodsetRepresentation in interface LinearMethodrepresentation - the representation to setpublic LinearPerceptron duplicate()
LearningAlgorithmduplicate in interface LearningAlgorithmpublic BinaryLinearClassifier getPredictionFunction()
ClassificationLearningAlgorithmgetPredictionFunction in interface ClassificationLearningAlgorithmgetPredictionFunction in interface LearningAlgorithmgetPredictionFunction in class PerceptronCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.