Class: LogisticRegressionTrainingSummary

eclairjs/ml/classification.LogisticRegressionTrainingSummary

Abstraction for multinomial Logistic Regression Training results. Currently, the training summary ignores the training weights except for the objective trace.

Constructor

new LogisticRegressionTrainingSummary()

Source:

Extends

Methods

featuresCol() → {Promise.<string>}

Field in "predictions" which gives the features of each instance as a vector.
Inherited From:
Source:
Returns:
Type
Promise.<string>

labelCol() → {Promise.<string>}

Field in "predictions" which gives the true label of each instance (if available).
Inherited From:
Source:
Returns:
Type
Promise.<string>

objectiveHistory() → {Promise.<Array.<float>>}

objective function (scaled loss + regularization) at each iteration.
Source:
Returns:
Type
Promise.<Array.<float>>

predictions() → {module:eclairjs/sql.DataFrame}

Dataframe output by the model's `transform` method.
Inherited From:
Source:
Returns:
Type
module:eclairjs/sql.DataFrame

probabilityCol() → {Promise.<string>}

Field in "predictions" which gives the probability of each class as a vector.
Inherited From:
Source:
Returns:
Type
Promise.<string>

totalIterations() → {Promise.<integer>}

Number of training iterations until termination
Source:
Returns:
Type
Promise.<integer>