Class: LogisticRegressionSummary

eclairjs/ml/classification.LogisticRegressionSummary

Abstraction for Logistic Regression Results for a given model.

Constructor

new LogisticRegressionSummary()

Source:

Methods

featuresCol() → {Promise.<string>}

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

labelCol() → {Promise.<string>}

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

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

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

probabilityCol() → {Promise.<string>}

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