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

[doc] Small improvements for categorical data document. #7330

Merged
merged 2 commits into from Oct 20, 2021

Conversation

trivialfis
Copy link
Member

  • Remove unnecessary prints.
  • Add links.

* Remove unnecessary prints.
* Add links.
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2021

Codecov Report

Merging #7330 (5c72159) into master (4ddf8d0) will increase coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7330      +/-   ##
==========================================
+ Coverage   83.62%   83.68%   +0.05%     
==========================================
  Files          13       13              
  Lines        3884     3885       +1     
==========================================
+ Hits         3248     3251       +3     
+ Misses        636      634       -2     
Impacted Files Coverage Δ
python-package/xgboost/data.py 69.27% <0.00%> (ø)
python-package/xgboost/sklearn.py 91.14% <0.00%> (ø)
python-package/xgboost/core.py 84.55% <0.00%> (+0.22%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ddf8d0...5c72159. Read the comment docs.

worked example using categorical data with ``scikit-learn`` interface. For using it with
the Kaggle tutorial dataset, see `this demo
<https://github.com/dmlc/xgboost/blob/master/demo/guide-python/cat_in_the_dat.py>`_
<https://github.com/dmlc/xgboost/blob/master/demo/guide-python/categorical.py>`__ for a
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why two underscores?

Copy link
Member Author

Choose a reason for hiding this comment

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

Remove the warning for duplicate explicit target. This is a syntax of rst I just learned about.

@trivialfis trivialfis merged commit 1568599 into dmlc:master Oct 20, 2021
@trivialfis trivialfis deleted the cat-improve-doc branch October 20, 2021 10:04
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.

None yet

4 participants