org.biojava.stats.svm
public interface SVMClassifierModel
This is the interface for objects that contain the model for a binary classification task.
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(Object item) |
void |
addItemAlpha(Object item,
double alpha) |
double |
classify(Object item) |
void |
clear() |
double |
getAlpha(Object item) |
SVMKernel |
getKernel() |
double |
getThreshold() |
Set |
itemAlphas() |
Set |
items() |
void |
removeItem(Object item) |
void |
setAlpha(Object item,
double alpha) |
void |
setThreshold(double threshold) |
SVMKernel getKernel()
void setThreshold(double threshold)
throws UnsupportedOperationException
UnsupportedOperationExceptiondouble getThreshold()
Set items()
Set itemAlphas()
double getAlpha(Object item)
void setAlpha(Object item, double alpha) throws UnsupportedOperationException
UnsupportedOperationExceptionvoid addItem(Object item) throws UnsupportedOperationException
UnsupportedOperationExceptionvoid addItemAlpha(Object item, double alpha) throws UnsupportedOperationException
UnsupportedOperationExceptionvoid removeItem(Object item) throws UnsupportedOperationException
UnsupportedOperationExceptionvoid clear()
throws UnsupportedOperationException
UnsupportedOperationExceptiondouble classify(Object item)