Package org.biojava.stats.svm
Interface SVMClassifierModel
-
- All Known Implementing Classes:
AbstractSVMClassifierModel,SimpleSVMClassifierModel
public interface SVMClassifierModel
An SVM classifier model.This is the interface for objects that contain the model for a binary classification task.
- Author:
- Matthew Pocock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddItem(Object item)voidaddItemAlpha(Object item, double alpha)doubleclassify(Object item)voidclear()doublegetAlpha(Object item)SVMKernelgetKernel()doublegetThreshold()SetitemAlphas()Setitems()voidremoveItem(Object item)voidsetAlpha(Object item, double alpha)voidsetThreshold(double threshold)
-
-
-
Method Detail
-
setThreshold
void setThreshold(double threshold) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getThreshold
double getThreshold()
-
itemAlphas
Set itemAlphas()
-
setAlpha
void setAlpha(Object item, double alpha) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
addItem
void addItem(Object item) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
addItemAlpha
void addItemAlpha(Object item, double alpha) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
removeItem
void removeItem(Object item) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
clear
void clear() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
-