Package org.biojava.stats.svm
Interface SVMTarget
-
- All Known Implementing Classes:
AbstractSVMTarget,SimpleSVMTarget
public interface SVMTarget
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)voidaddItemTarget(Object item, double target)voidclear()doublegetTarget(Object item)Setitems()SetitemTargets()voidremoveItem(Object item)voidsetTarget(Object item, double target)
-
-
-
Method Detail
-
itemTargets
Set itemTargets()
-
setTarget
void setTarget(Object item, double target) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
addItem
void addItem(Object item) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
addItemTarget
void addItemTarget(Object item, double target) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
removeItem
void removeItem(Object item) throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
clear
void clear() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
-