Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor documentation update: learning_to_rank.rst #9336

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

jasjung
Copy link
Contributor

@jasjung jasjung commented Jun 26, 2023

Was not able to run the original code block in the documentation. It references rng before it was assigned. Also, random_state does not accept numpy.random.RandomState instance.

@jasjung jasjung changed the title Update learning_to_rank.rst Minor documentation update: learning_to_rank.rst Jun 27, 2023
Copy link
Member

@trivialfis trivialfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix! Please note that the document is added recently, if you want to use the feature mentioned in the doc you need nightly builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants