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) |
void setThreshold(double threshold) throws UnsupportedOperationException
UnsupportedOperationExceptiondouble getThreshold()
Set itemAlphas()
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
UnsupportedOperationExceptionCopyright © 2014 BioJava. All rights reserved.