Java org.apache.mahout.classifier.sgd OnlineLogisticRegression fields, constructors, methods, implement or subclass

Example usage for Java org.apache.mahout.classifier.sgd OnlineLogisticRegression fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.mahout.classifier.sgd OnlineLogisticRegression.

The text is from its open source code.

Field

Constructor

Method

OnlineLogisticRegressionalpha(double alpha)
Chainable configuration option.
Vectorclassify(Vector instance)
Returns n-1 probabilities, one for each category but the 0-th.
VectorclassifyFull(Vector r, Vector instance)
Computes and returns a vector containing n scores, where n is numCategories() , given an input vector instance .
VectorclassifyFull(Vector instance)
Computes and returns a vector containing n scores, where n is numCategories() , given an input vector instance .
doubleclassifyScalar(Vector instance)
Returns a single scalar probability in the case where we have two categories.
voidclose()
doublecurrentLearningRate()
OnlineLogisticRegressiondecayExponent(double decayExponent)
MatrixgetBeta()
OnlineLogisticRegressionlambda(double lambda)
OnlineLogisticRegressionlearningRate(double learningRate)
Chainable configuration option.
doublelogLikelihood(int actual, Vector data)
Returns a measure of how good the classification for a particular example actually is.
intnumCategories()
intnumFeatures()
voidsetBeta(int i, int j, double betaIJ)
voidtrain(int actual, Vector instance)
voidwrite(DataOutput out)