public interface SVMTarget
This is the interface for objects that contain the model for a binary classification task.
Modifier and Type | Method and 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) |
Set itemTargets()
void setTarget(Object item, double target) throws UnsupportedOperationException
UnsupportedOperationException
void addItem(Object item) throws UnsupportedOperationException
UnsupportedOperationException
void addItemTarget(Object item, double target) throws UnsupportedOperationException
UnsupportedOperationException
void removeItem(Object item) throws UnsupportedOperationException
UnsupportedOperationException
void clear() throws UnsupportedOperationException
UnsupportedOperationException
Copyright © 2014 BioJava. All rights reserved.