"...tests/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "1a3afd2d4dd262a65342c4094093c5cf32656005"
Unverified Commit 023dc53d authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[docs][python][scikit-learn] added note for LGBMRanker (#4243)

parent 91f72e2a
...@@ -952,7 +952,14 @@ class LGBMClassifier(_LGBMClassifierBase, LGBMModel): ...@@ -952,7 +952,14 @@ class LGBMClassifier(_LGBMClassifierBase, LGBMModel):
class LGBMRanker(LGBMModel): class LGBMRanker(LGBMModel):
"""LightGBM ranker.""" """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.
"""
def fit(self, X, y, def fit(self, X, y,
sample_weight=None, init_score=None, group=None, sample_weight=None, init_score=None, group=None,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment