mirror of
https://github.com/sjwhitworth/golearn.git
synced 2025-04-25 13:48:49 +08:00
Remove redundant import renames
This commit is contained in:
parent
8f5a5f4962
commit
21bb2fc9fa
@ -2,9 +2,9 @@ package ensemble
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
meta "github.com/sjwhitworth/golearn/meta"
|
||||
trees "github.com/sjwhitworth/golearn/trees"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/meta"
|
||||
"github.com/sjwhitworth/golearn/trees"
|
||||
)
|
||||
|
||||
// RandomForest classifies instances using an ensemble
|
||||
|
@ -2,9 +2,9 @@ package ensemble
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
eval "github.com/sjwhitworth/golearn/evaluation"
|
||||
filters "github.com/sjwhitworth/golearn/filters"
|
||||
"github.com/sjwhitworth/golearn/filters"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -2,9 +2,9 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
evaluation "github.com/sjwhitworth/golearn/evaluation"
|
||||
knn "github.com/sjwhitworth/golearn/knn"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/evaluation"
|
||||
"github.com/sjwhitworth/golearn/knn"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -4,11 +4,11 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
ensemble "github.com/sjwhitworth/golearn/ensemble"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/ensemble"
|
||||
eval "github.com/sjwhitworth/golearn/evaluation"
|
||||
filters "github.com/sjwhitworth/golearn/filters"
|
||||
trees "github.com/sjwhitworth/golearn/trees"
|
||||
"github.com/sjwhitworth/golearn/filters"
|
||||
"github.com/sjwhitworth/golearn/trees"
|
||||
"math/rand"
|
||||
"time"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package filters
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"math"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package filters
|
||||
|
||||
import (
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"testing"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package filters
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"math"
|
||||
)
|
||||
|
||||
|
@ -2,7 +2,7 @@ package filters
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"math"
|
||||
"testing"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package filters
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
)
|
||||
|
||||
type AbstractDiscretizeFilter struct {
|
||||
|
@ -5,7 +5,7 @@ package knn
|
||||
|
||||
import (
|
||||
"github.com/gonum/matrix/mat64"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
pairwiseMetrics "github.com/sjwhitworth/golearn/metrics/pairwise"
|
||||
util "github.com/sjwhitworth/golearn/utilities"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package linear_models
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
)
|
||||
|
||||
type LogisticRegression struct {
|
||||
|
@ -2,7 +2,7 @@ package meta
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"math/rand"
|
||||
"runtime"
|
||||
"strings"
|
||||
|
@ -2,10 +2,10 @@ package meta
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
eval "github.com/sjwhitworth/golearn/evaluation"
|
||||
filters "github.com/sjwhitworth/golearn/filters"
|
||||
trees "github.com/sjwhitworth/golearn/trees"
|
||||
"github.com/sjwhitworth/golearn/filters"
|
||||
"github.com/sjwhitworth/golearn/trees"
|
||||
"math/rand"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -2,7 +2,7 @@ package naive
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"math"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package trees
|
||||
|
||||
import (
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"math"
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ package trees
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
eval "github.com/sjwhitworth/golearn/evaluation"
|
||||
"sort"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package trees
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
"math/rand"
|
||||
)
|
||||
|
||||
|
@ -2,9 +2,9 @@ package trees
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
base "github.com/sjwhitworth/golearn/base"
|
||||
"github.com/sjwhitworth/golearn/base"
|
||||
eval "github.com/sjwhitworth/golearn/evaluation"
|
||||
filters "github.com/sjwhitworth/golearn/filters"
|
||||
"github.com/sjwhitworth/golearn/filters"
|
||||
"math"
|
||||
"testing"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user