public interface SimpleWeightVectorModel
Modifier and Type | Method and Description |
---|---|
double |
getBias(int index)
Returns the bias term used with the weight vector for the given class
index.
|
Vec |
getRawWeight(int index)
Returns the raw weight vector associated with the given class index.
|
int |
numWeightsVecs()
Returns the number of weight vectors that can be returned.
|
Vec getRawWeight(int index)
ConstantVector
object may be returned. index = 0
should be usedindex
- the class index to get the weight vector fordouble getBias(int index)
0
will be returned.index = 0
should be usedindex
- the class index to get the weight vector forint numWeightsVecs()
getRawWeight(int)
can be called.Copyright © 2017. All rights reserved.