xorbits.lightgbm.LGBMRanker#

class xorbits.lightgbm.LGBMRanker(*args, **kwargs)[source]#

LightGBM ranker.

Warning

scikit-learn doesn’t support ranking applications yet, therefore this class is not really compatible with the sklearn ecosystem. Please use this class mainly for training and applying ranking models in common sklearnish way.

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, **kw)

Return the predicted value for each sample.

predict_proba(X, **kwargs)

set_fit_request(*[, eval_init_score, ...])

Request metadata passed to the fit method.

set_params(**params)

Set the parameters of this estimator.

set_predict_request(*[, num_iteration, ...])

Request metadata passed to the predict method.

to_local()