Scikit-Learn API#
LGBMClassifier#
Constructor#
|
LightGBM classifier. |
Attributes#
|
Build a gradient boosting model from the training set (X, y). |
|
Get parameters for this estimator. |
|
|
|
Return the predicted value for each sample. |
|
Return the predicted probability for each class for each sample. |
|
Return the mean accuracy on the given test data and labels. |
|
Set the parameters of this estimator. |
LGBMRegressor#
Constructor#
|
LightGBM regressor. |
Attributes#
|
Build a gradient boosting model from the training set (X, y). |
|
Get parameters for this estimator. |
|
|
|
Return the predicted value for each sample. |
|
|
|
Return the coefficient of determination of the prediction. |
|
Set the parameters of this estimator. |
LGBMRanker#
Constructor#
|
LightGBM ranker. |
Attributes#
|
Build a gradient boosting model from the training set (X, y). |
|
Get parameters for this estimator. |
|
|
|
Return the predicted value for each sample. |
|
|
|
Set the parameters of this estimator. |