Home > @josh-brown/vector > LogisticRegressionClassifier
A Classifier model which uses logistic regression to predict a discrete target. The optimal set of parameters is computed with gradient descent.
Signature:
export declare class LogisticRegressionClassifier implements Classifier<LogisticRegressionHyperparams> Implements: Classifier<LogisticRegressionHyperparams>
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
|
Method |
Modifiers |
Description |
|---|---|---|
|
Return the full set of hyperparameters used to train the model, including defaults. | ||
|
Get the coefficients of the trained linear regression model, or | ||
|
Uses the learned parameters to make predictions based on a set of input data. | ||
|
Uses the learned parameters to make predictions for the probability of an event based on a set of input data. | ||
|
Learns the optimal set of parameters for the model. |