Skip to content

Commit 15789e1

Browse files
committed
[Linear-Regression] Upgrade dependencies in Cargo.toml
1 parent 2e2fb65 commit 15789e1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

linear_regression/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ intel-mkl = ["ndarray-linalg/intel-mkl"]
1212
netlib = ["ndarray-linalg/netlib"]
1313

1414
[dependencies]
15-
ndarray = {version = "0.12", features = ["blas"]}
16-
ndarray-linalg = {version = "0.11.1", optional = true, default-features = false}
17-
ndarray-stats = {git = "https://github.com/rust-ndarray/ndarray-stats", branch = "master"}
18-
ndarray-rand = "0.9"
19-
rand = "0.6"
15+
ndarray = {version = "0.13", features = ["blas"]}
16+
ndarray-linalg = {version = "0.12", optional = true, default-features = false}
17+
ndarray-stats = "0.3"
18+
ndarray-rand = "0.11"
19+
rand = "0.7"

linear_regression/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use ndarray::{Array, Array1, Array2, Axis};
33
use ndarray_linalg::random;
44
use ndarray_rand::RandomExt;
55
use ndarray_stats::DeviationExt;
6-
use rand::distributions::StandardNormal;
6+
use ndarray_rand::rand_distr::StandardNormal;
77

88
// Import LinearRegression from other file ("lib.rs") in this example
99
use linear_regression::LinearRegression;

0 commit comments

Comments
 (0)