From 989d379d38376460cbc9a249785b78b82a83d8e0 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Wed, 27 Nov 2024 14:52:57 +0800 Subject: [PATCH] [doc] Fix parameter typo. --- docs/src/features.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/features.md b/docs/src/features.md index 494d5fa..d11a079 100644 --- a/docs/src/features.md +++ b/docs/src/features.md @@ -28,8 +28,8 @@ will use assigned feature names, for example ```julia julia> df = DataFrame(randn(10,3), ["kirk", "spock", "bones"]) 10×3 DataFrame - Row │ kirk spock bones - │ Float64 Float64 Float64 + Row │ kirk spock bones + │ Float64 Float64 Float64 ─────┼─────────────────────────────────── 1 │ 0.663934 -0.419345 -0.489801 2 │ 1.19064 0.420935 -0.321852 @@ -225,5 +225,5 @@ X = (x1=cu(randn(1000)), x2=cu(randn(1000))) dm = DMatrix(X, y) XGBoost.isgpu(dm) # true -xgboost((X, y), num_rounds=10) # no need to use `DMatrix` +xgboost((X, y), num_round=10) # no need to use `DMatrix` ```