dmlc/xgboost

Make all tutorials multi-language

Open

#11.413 geöffnet am 17. Apr. 2025

Auf GitHub ansehen
 (12 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)C++ (8.872 Forks)batch import
good first issue

Repository-Metriken

Stars
 (28.376 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 18h) (34 gemergte PRs in 30 T)

Beschreibung

ref https://github.com/dmlc/xgboost/pull/11410

After the PR above gets merged, we'll have a mechanism to show language tabs throughout the online docs, but it would only be used in 2 out of 25 tutorials. This could be a nice way to make all the current tutorials multi-language, by having a tab for 'R' next to the tab for 'Python' - example:

Image

I think most of the tutorials would be straightforward to write as R code (save for ones that don't apply, like distributed mode), but it's quite a lot of work. Leaving the idea here in case someone wants to work on porting at least some tutorials (CC @mayer79 @jameslamb @dfsnow).

Contributor Guide