jsat
Interface SingleWeightVectorModel
-
- All Superinterfaces:
- SimpleWeightVectorModel
- All Known Implementing Classes:
- ALMA2, AROW, BBR, DCD, DCDs, LinearL1SCD, LogisticRegressionDCD, MultipleLinearRegression, NewGLMNET, NHERD, PassiveAggressive, Pegasos, Perceptron, ROMMA, SCD, SCW, SMIDAS, STGD, StochasticRidgeRegression, StochasticSTLinearL1
public interface SingleWeightVectorModel extends SimpleWeightVectorModel
This interface is for binary classification and regression problems where the solution can be represented as a single weight vector.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublegetBias()Returns the bias term used for the model, or 0 of the model does not support or was not trained with a bias term.VecgetRawWeight()Returns the only weight vector used for the model-
Methods inherited from interface jsat.SimpleWeightVectorModel
getBias, getRawWeight, numWeightsVecs
-
-
-
-
Method Detail
-
getRawWeight
Vec getRawWeight()
Returns the only weight vector used for the model- Returns:
- the only weight vector used for the model
-
getBias
double getBias()
Returns the bias term used for the model, or 0 of the model does not support or was not trained with a bias term.- Returns:
- the bias term for the model
-
-
DataMelt 3.0 © DataMelt by jWork.ORG