MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / getBias

Method getBias

JSAT/src/jsat/SimpleWeightVectorModel.java:40–40  ·  view source on GitHub ↗

Returns the bias term used with the weight vector for the given class index. If the model does not support or was not trained with bias weights, 0 will be returned. If a regression problem, only index = 0 should be used @param index the class index to get the weight vector

(int index)

Source from the content-addressed store, hash-verified

38 * @return the bias term for the specified class
39 */
40 public double getBias(int index);
41
42 /**
43 * Returns the number of weight vectors that can be returned. For binary

Callers 2

trainCMethod · 0.95
doWarmStartIfNotNullMethod · 0.95

Implementers 15

DumbWeightHolderJSAT/test/jsat/classifiers/linear/NewG
SPAJSAT/src/jsat/classifiers/linear/SPA.j
SDCAJSAT/src/jsat/classifiers/linear/SDCA.
LinearSGDJSAT/src/jsat/classifiers/linear/Linea
LinearBatchJSAT/src/jsat/classifiers/linear/Linea
StochasticMultinomialLogisticRegressionJSAT/src/jsat/classifiers/linear/Stoch
NewGLMNETJSAT/src/jsat/classifiers/linear/NewGL
BBRJSAT/src/jsat/classifiers/linear/BBR.j
ROMMAJSAT/src/jsat/classifiers/linear/ROMMA
StochasticSTLinearL1JSAT/src/jsat/classifiers/linear/Stoch
LogisticRegressionDCDJSAT/src/jsat/classifiers/linear/Logis
SCDJSAT/src/jsat/classifiers/linear/SCD.j

Calls

no outgoing calls

Tested by

no test coverage detected