File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ _src/main.rs_
59
59
use xgboost :: {parameters, Booster , DMatrix };
60
60
61
61
fn main () {
62
- // Data is read directly into the C++ data structure.
62
+ // Data is read directly into the C++ data structure
63
63
let train = DMatrix :: load (" train.txt" ). unwrap ();
64
64
let test = DMatrix :: load (" test.txt" ). unwrap ();
65
65
@@ -95,11 +95,11 @@ fn main() {
95
95
. build ()
96
96
. unwrap ();
97
97
98
- // Train!
98
+ // Train the model
99
99
let model = Booster :: train (& params ). unwrap ();
100
100
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 ();
103
103
}
104
104
```
105
105
You can’t perform that action at this time.
0 commit comments