dmlc / dmlc/xgboost

Make all tutorials multi-language

Open
#11,413 16 comments 2 reactions 0 assignees View on GitHub
good first issue
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 12h
Merged PRs (30d)
54

Description

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](https://github.com/user-attachments/assets/d8a93e11-2f94-4e54-8d96-81904eefd8a8)

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

No contributing guide indexed for this repository

Research direction

Start by reviewing PR #11410 and the existing online tutorials, especially the two that already use language tabs. Identify which of the 25 tutorials apply to R and port them so each applicable tutorial has an R tab alongside Python; distributed-mode tutorials are noted as an exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.