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 void
addItem(Object item)
void
addItemTarget(Object item, double target)
void
clear()
double
getTarget(Object item)
Set
items()
Set
itemTargets()
void
removeItem(Object item)
void
setTarget(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
-
-