|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SVMInterface
The interface of all SVMs.
| Method Summary | |
|---|---|
double |
getB()
Returns the value of b. |
double[] |
getWeights()
Returns the weights of all features. |
void |
init(Kernel kernel,
SVMExamples examples)
Initializes this SVM. |
double |
predict(SVMExample sVMExample)
Perform a prediction of label for all examples. |
void |
predict(SVMExamples examples)
Perform a prediction of label for all examples. |
void |
train()
Train this SVM. |
| Method Detail |
|---|
void init(Kernel kernel,
SVMExamples examples)
void train()
void predict(SVMExamples examples)
double predict(SVMExample sVMExample)
double[] getWeights()
double getB()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||