![]() | [using it] | Interface Manipulation Package v4.0 (2008-06-25) | ![]() | ©copyright | ![]() |
java.lang.Objectimp.classifier.Classifier
imp.classifier.YgPolynomialClassifier
public class YgPolynomialClassifier
Defines an implementation of the polynomial Y. Guermeur classifier.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class imp.classifier.Classifier |
---|
Classifier.Data |
Constructor Summary | |
---|---|
YgPolynomialClassifier()
Constructs a YG polynomial classifier. |
Method Summary | |
---|---|
int |
getSize()
Returns the number N of prototypes. |
double |
getYgDimension()
Returns the Y. |
YgPolynomialClassifier |
setDegree(int degree)
Sets the classifier degree and return this. |
YgPolynomialClassifier |
setMargin(double margin)
Sets the classifier margin and return this. |
Methods inherited from class imp.classifier.Classifier |
---|
add, getCategory, getData, getMargin, getName, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public YgPolynomialClassifier()
Method Detail |
---|
public int getSize()
public double getYgDimension()
public YgPolynomialClassifier setDegree(int degree)
degree
- Degree of the polynomial, default is 0: yielding automatic adjustment.public YgPolynomialClassifier setMargin(double margin)
margin
- Minimal margin between prototypes, default is 1.