dmlc/xgboost

Make all tutorials multi-language

开放

#11,413 创建于 2025年4月17日

 (15 条评论) (2 个反应) (0 位负责人)C++ (8,872 个派生)batch import
good first issue

仓库指标

星标
 (28,376 个星标)
PR 合并指标
 (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).

贡献者指南