Skip to content

Commit e9eb86d

Browse files
authored
Typo (#307)
1 parent 7ae42b1 commit e9eb86d

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
use xgboost::{parameters, Booster, DMatrix};
6060

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

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

98-
// Train!
98+
// Train the model
9999
let model = 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy