We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent7ae42b1 commite9eb86dCopy full SHA for e9eb86d
pgml-docs/docs/blog/oxidizing-machine-learning.md
@@ -59,7 +59,7 @@ _src/main.rs_
59
usexgboost::{parameters,Booster,DMatrix};
60
61
fnmain() {
62
-// Data is read directly into the C++ data structure.
+// Data is read directly into the C++ data structure
63
lettrain=DMatrix::load("train.txt").unwrap();
64
lettest=DMatrix::load("test.txt").unwrap();
65
@@ -95,11 +95,11 @@ fn main() {
95
.build()
96
.unwrap();
97
98
-// Train!
+// Train the model
99
letmodel=Booster::train(¶ms).unwrap();
100
101
-// Save and load later in any language that has XGBoost bindings.
102
-model.save("/tmp/xbgoost_model.bin").unwrap();
+// Save and load later in any language that has XGBoost bindings
+model.save("/tmp/xgboost_model.bin").unwrap();
103
}
104
```
105