DEV Community

Discussion on: Rust for Data Science: Tutorial 1

Collapse
 
dougfort profile image
dougfort

You had me worried for a minute. The article only uses 300 points, which produces a disappointing graph. The code in github uses 10,000 points, which is much more satisfying.

let arr18 = Array::::random_using((300, 2), StandardNormal, &mut rand::thread_rng());

Collapse
 
davidedelpapa profile image
Davide Del Papa

😂😉 good catch... in fact I just forgot to update the numbers, but the image refers to the GitHub repo