xorbits.lightgbm.LGBMClassifier#
- class xorbits.lightgbm.LGBMClassifier(*args, **kwargs)[source]#
LightGBM classifier.
This docstring was copied from lightgbm.
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)fit
(X, y[, sample_weight, init_score, ...])Build a gradient boosting model from the training set (X, y).
get_metadata_routing
()Get metadata routing of this object.
get_params
([deep])Get parameters for this estimator.
load_model
(model)predict
(X, **kwargs)Return the predicted value for each sample.
predict_proba
(X, **kwargs)Return the predicted probability for each class for each sample.
score
(X, y[, sample_weight])Return the mean accuracy on the given test data and labels.
set_fit_request
(*[, eval_init_score, ...])Request metadata passed to the
fit
method.set_params
(**params)Set the parameters of this estimator.
set_predict_proba_request
(*[, ...])Request metadata passed to the
predict_proba
method.set_predict_request
(*[, num_iteration, ...])Request metadata passed to the
predict
method.set_score_request
(*[, sample_weight])Request metadata passed to the
score
method.to_local
()