public abstract static class WeightVector.BinaryVector extends WeightVector
WeightVector.BinaryLibLinearVector, WeightVector.BinarySparseVector, WeightVector.BinaryVector, WeightVector.MultipleLibLinearVector, WeightVector.MultipleSparseVector, WeightVector.MultipleVectorbias, classes, features| Constructor and Description |
|---|
BinaryVector(double bias,
int features,
int classes) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
computeAllProbs(Collection<Integer> ints) |
short |
computeBestClass(Collection<Integer> ints) |
protected abstract double |
computeScore(Collection<Integer> ints) |
parseWeightsprotected abstract double computeScore(Collection<Integer> ints)
public double[] computeAllProbs(Collection<Integer> ints)
computeAllProbs in class WeightVectorpublic short computeBestClass(Collection<Integer> ints)
computeBestClass in class WeightVectorCopyright © 2016. All rights reserved.