|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.ngram.svm.SVMModel
public class SVMModel
SVMModel encondes a classification model, describing both the model parameters and the Support Vectors.
Field Summary | |
---|---|
(package private) int[] |
label
Label of each class (for classification only). |
(package private) int |
nrClasses
The number of classes. |
(package private) int[] |
numSupportVectors
Number of Support Vectors for each class (for classification only). |
(package private) SVMParameter |
params
The parameters of this model. |
(package private) double[] |
probA
Pariwise probability information. |
(package private) double[] |
probB
Pariwise probability information. |
(package private) double[] |
rho
Constants (the bias terms) in decision functions. |
(package private) SVMNode[][] |
supportVectors
The Support Vectors. |
(package private) double[][] |
supportVectorsCoef
The coefficients for Support Vectors in decision functions. |
(package private) int |
totalNrSupportVectors
The total number of Support Vectors. |
Constructor Summary | |
---|---|
SVMModel()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
SVMParameter params
int nrClasses
int totalNrSupportVectors
SVMNode[][] supportVectors
double[][] supportVectorsCoef
double[] rho
double[] probA
double[] probB
int[] label
int[] numSupportVectors
Constructor Detail |
---|
public SVMModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |