diff --git a/knn/knn.go b/knn/knn.go index 0ce44fac..e932d4be 100644 --- a/knn/knn.go +++ b/knn/knn.go @@ -7,7 +7,7 @@ import ( "errors" "fmt" - "github.com/gonum/matrix" + matrix "gonum.org/v1/gonum/mat" "github.com/sjwhitworth/golearn/base" "github.com/sjwhitworth/golearn/kdtree" "github.com/sjwhitworth/golearn/metrics/pairwise" diff --git a/linear_models/linear_regression.go b/linear_models/linear_regression.go index eb52c4e5..5df4b938 100644 --- a/linear_models/linear_regression.go +++ b/linear_models/linear_regression.go @@ -6,7 +6,7 @@ import ( "github.com/sjwhitworth/golearn/base" "fmt" - _ "github.com/gonum/blas" + _ "gonum.org/v1/gonum/blas" "gonum.org/v1/gonum/mat" ) diff --git a/metrics/pairwise/chebyshev.go b/metrics/pairwise/chebyshev.go index 23a6fb18..ccfb4721 100644 --- a/metrics/pairwise/chebyshev.go +++ b/metrics/pairwise/chebyshev.go @@ -3,7 +3,7 @@ package pairwise import ( "math" - "github.com/gonum/matrix" + matrix "gonum.org/v1/gonum/mat" "gonum.org/v1/gonum/mat" ) diff --git a/metrics/pairwise/cranberra.go b/metrics/pairwise/cranberra.go index eb36f6ce..f86e879d 100644 --- a/metrics/pairwise/cranberra.go +++ b/metrics/pairwise/cranberra.go @@ -3,7 +3,7 @@ package pairwise import ( "math" - "github.com/gonum/matrix" + matrix "gonum.org/v1/gonum/mat" "gonum.org/v1/gonum/mat" ) diff --git a/metrics/pairwise/manhattan.go b/metrics/pairwise/manhattan.go index 29c9ba9c..52a05582 100644 --- a/metrics/pairwise/manhattan.go +++ b/metrics/pairwise/manhattan.go @@ -3,7 +3,7 @@ package pairwise import ( "math" - "github.com/gonum/matrix" + matrix "gonum.org/v1/gonum/mat" "gonum.org/v1/gonum/mat" )