public class SimpleSVMTarget extends Object implements SVMTarget
Constructor and Description |
---|
SimpleSVMTarget() |
SimpleSVMTarget(Collection items) |
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) |
public SimpleSVMTarget()
public SimpleSVMTarget(Collection items)
public Set itemTargets()
itemTargets
in interface SVMTarget
public void addItemTarget(Object item, double target)
addItemTarget
in interface SVMTarget
public void removeItem(Object item)
removeItem
in interface SVMTarget
Copyright © 2014 BioJava. All rights reserved.