public class SupportVector extends Object
Constructor and Description |
---|
SupportVector() |
SupportVector(float weight,
Example instance) |
Modifier and Type | Method and Description |
---|---|
Example |
getInstance() |
float |
getWeight() |
void |
incrementWeight(float weightIncrement)
Increments the weight of this support vector
|
void |
setInstance(Example instance) |
void |
setWeight(float weight) |
public SupportVector(float weight, Example instance)
public SupportVector()
public void setWeight(float weight)
weight
- the weight to setpublic void setInstance(Example instance)
instance
- the instance to setpublic float getWeight()
public Example getInstance()
public void incrementWeight(float weightIncrement)
weightIncrement
- the value to be added to the weight of this support vectorCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.