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
getKernel
SVMKernel getKernel()
setThreshold
void setThreshold(double threshold)
throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
getThreshold
double getThreshold()
items
java.util.Set items()
itemAlphas
java.util.Set itemAlphas()
getAlpha
double getAlpha(java.lang.Object item)
setAlpha
void setAlpha(java.lang.Object item,
double alpha)
throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
addItem
void addItem(java.lang.Object item)
throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
addItemAlpha
void addItemAlpha(java.lang.Object item,
double alpha)
throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
removeItem
void removeItem(java.lang.Object item)
throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
clear
void clear()
throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
classify
double classify(java.lang.Object item)