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
UnsupportedOperationException
double getThreshold()
Set items()
Set itemAlphas()
double getAlpha(Object item)
void setAlpha(Object item, double alpha) throws UnsupportedOperationException
UnsupportedOperationException
void addItem(Object item) throws UnsupportedOperationException
UnsupportedOperationException
void addItemAlpha(Object item, double alpha) throws UnsupportedOperationException
UnsupportedOperationException
void removeItem(Object item) throws UnsupportedOperationException
UnsupportedOperationException
void clear() throws UnsupportedOperationException
UnsupportedOperationException
double classify(Object item)