dmlc/xgboost

Make all tutorials multi-language

Open

#11,413 建立於 2025年4月17日

在 GitHub 查看
 (12 留言) (2 反應) (0 負責人)C++ (8,872 fork)batch import
good first issue

倉庫指標

Star
 (28,376 star)
PR 合併指標
 (平均合併 3天 18小時) (30 天內合併 34 個 PR)

描述

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).

貢獻者指南