public static class OnlineShiftingPerceptron.LinearResult extends LinearBinaryCategorizer
Modifier and Type | Field and Description |
---|---|
protected long |
errorCount
The number of errors made by the categorizer so far.
|
bias, DEFAULT_BIAS, weights
BINARY_CATEGORIES
Constructor and Description |
---|
LinearResult()
Creates a new, empty
LinearResult . |
Modifier and Type | Method and Description |
---|---|
long |
getErrorCount()
Gets the error count.
|
void |
setErrorCount(long errorCount)
Sets the error count.
|
clone, evaluateAsDouble, evaluateAsDouble, getBias, getInputDimensionality, getThreshold, getWeights, setBias, setThreshold, setWeights, toString
evaluate, evaluateWithDiscriminant
getCategories
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
evaluateWithDiscriminant
getCategories