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