Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite9eb86d

Browse files
authored
Typo (#307)
1 parent7ae42b1 commite9eb86d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎pgml-docs/docs/blog/oxidizing-machine-learning.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ _src/main.rs_
5959
usexgboost::{parameters,Booster,DMatrix};
6060

6161
fnmain() {
62-
// Data is read directly into the C++ data structure.
62+
// Data is read directly into the C++ data structure
6363
lettrain=DMatrix::load("train.txt").unwrap();
6464
lettest=DMatrix::load("test.txt").unwrap();
6565

@@ -95,11 +95,11 @@ fn main() {
9595
.build()
9696
.unwrap();
9797

98-
// Train!
98+
// Train the model
9999
letmodel=Booster::train(&params).unwrap();
100100

101-
// Save and load later in any language that has XGBoost bindings.
102-
model.save("/tmp/xbgoost_model.bin").unwrap();
101+
// Save and load later in any language that has XGBoost bindings
102+
model.save("/tmp/xgboost_model.bin").unwrap();
103103
}
104104
```
105105

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp