-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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] Reference the R doc in sphinx document site. #11166
base: master
Are you sure you want to change the base?
Changes from all commits
4d08c07
dbfa528
556bc5a
20b5f2a
7904c36
0d627b6
91a6dd2
ab2afd4
614cd8c
6208a1a
a8b569c
497e379
586ee69
a6dd1c7
20e4ed7
28cf368
c6b77c7
a64b28e
3a54377
ef21bb6
fe27ec9
2b1eb46
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ | |
README.md | ||
^doc$ | ||
^Meta$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docs |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
url: https://github.com/dmlc/xgboost | ||
|
||
template: | ||
bootstrap: 5 | ||
math-rendering: mathjax | ||
|
||
reference: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could the CI job be configured in such a way that it'd throw a warning if some function is exported but not listed in this file? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pkgdown throws an error if there's a missing symbol. |
||
- title: High Level Interface | ||
desc: High level XGBoost interface | ||
contents: | ||
- "xgboost" | ||
- "predict.xgboost" | ||
- "print.xgboost" | ||
- title: Datasets | ||
desc: Test datasets bundled with the R package. | ||
contents: | ||
- "agaricus.train" | ||
- "agaricus.test" | ||
- title: Global Configuration | ||
desc: Global configuration for the XGBoost library. | ||
contents: | ||
- "xgb.config" | ||
- "xgb.set.config" | ||
- "xgb.get.config" | ||
- title: DMatrix | ||
desc: Low-level data storage. | ||
contents: | ||
- "xgb.DMatrix" | ||
- "xgb.DMatrix.hasinfo" | ||
- "xgb.DMatrix.save" | ||
- "dim.xgb.DMatrix" | ||
- "dimnames.xgb.DMatrix" | ||
- "print.xgb.DMatrix" | ||
- "xgb.DataBatch" | ||
- "xgb.DataIter" | ||
- "xgb.get.DMatrix.data" | ||
- "xgb.get.DMatrix.num.non.missing" | ||
- "xgb.ExtMemDMatrix" | ||
- "xgb.QuantileDMatrix.from_iterator" | ||
- "xgb.get.DMatrix.qcut" | ||
- "xgb.slice.DMatrix" | ||
- title: Booster | ||
desc: The model for XGBoost. | ||
contents: | ||
- "a-compatibility-note-for-saveRDS-save" | ||
- "coef.xgb.Booster" | ||
- "getinfo.xgb.Booster" | ||
- "predict.xgb.Booster" | ||
- "print.xgb.Booster" | ||
- "xgb.load" | ||
- "xgb.load.raw" | ||
- "xgb.save" | ||
- "xgb.save.raw" | ||
- "xgb.copy.Booster" | ||
- "xgb.slice.Booster" | ||
- "xgb.get.num.boosted.rounds" | ||
- "xgb.is.same.Booster" | ||
- "xgb.importance" | ||
- "xgb.attr" | ||
- "xgb.create.features" | ||
- "xgb.model.dt.tree" | ||
- "xgb.model.parameters<-" | ||
- "xgb.ggplot.deepness" | ||
- "xgb.dump" | ||
- "variable.names.xgb.Booster" | ||
- "xgb.ggplot.importance" | ||
- "xgb.plot.multi.trees" | ||
- "xgb.plot.shap" | ||
- "xgb.ggplot.shap.summary" | ||
- "xgb.plot.tree" | ||
- "xgb.gblinear.history" | ||
- title: Training Callbacks | ||
desc: Callback functions used for training. | ||
contents: | ||
- "xgb.Callback" | ||
- "xgb.cb.cv.predict" | ||
- "xgb.cb.early.stop" | ||
- "xgb.cb.evaluation.log" | ||
- "xgb.cb.gblinear.history" | ||
- "xgb.cb.print.evaluation" | ||
- "xgb.cb.reset.parameters" | ||
- "xgb.cb.save.model" | ||
- title: Low-level Training Functions | ||
desc: Low-level Training Functions with DMatrix and Booster | ||
contents: | ||
- "xgb.params" | ||
- "xgb.train" | ||
- "xgb.cv" | ||
- "print.xgb.cv.synchronous" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are in the booster section. Is that correct? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. Not sure where they'd fit better though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems logical to put them in the booster section as they are booster s3 methods. |
||
- title: Deprecation Settings | ||
contents: | ||
- "xgboost-deprecated" | ||
- "xgboost-options" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ pkgs <- c( | |
"RhpcBLASctl", | ||
## imports | ||
"Matrix", | ||
"methods", | ||
"data.table", | ||
"jsonlite" | ||
) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
*~ | ||
*.md |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:orphan: | ||
|
||
============= | ||
XGBoost R API | ||
============= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@trivialfis What about the
katex
with the workaround that is mentioned in the issue you linked?r-lib/pkgdown#2704 (comment)
Looks like it should solve the issue of symbols like sqrt showing random glitches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will test it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not do that. Injecting npm dependencies with a fixed version is outside my comfort zone. I know nothing about web development and would like to avoid it in XGBoost.