Skip to content

Commit

Permalink
Fix import paths to use gonum.org/v1/gonum
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonzhuyx committed Nov 6, 2019
1 parent 6fcc2b4 commit 97f6212
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion knn/knn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion linear_models/linear_regression.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion metrics/pairwise/chebyshev.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pairwise
import (
"math"

"github.com/gonum/matrix"
matrix "gonum.org/v1/gonum/mat"
"gonum.org/v1/gonum/mat"
)

Expand Down
2 changes: 1 addition & 1 deletion metrics/pairwise/cranberra.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pairwise
import (
"math"

"github.com/gonum/matrix"
matrix "gonum.org/v1/gonum/mat"
"gonum.org/v1/gonum/mat"
)

Expand Down
2 changes: 1 addition & 1 deletion metrics/pairwise/manhattan.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pairwise
import (
"math"

"github.com/gonum/matrix"
matrix "gonum.org/v1/gonum/mat"
"gonum.org/v1/gonum/mat"
)

Expand Down

0 comments on commit 97f6212

Please sign in to comment.