1
0
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:
Amit Kumar Gupta 2014-08-22 07:21:24 +00:00
parent 8f5a5f4962
commit 21bb2fc9fa
19 changed files with 30 additions and 30 deletions

View File

@ -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

View File

@ -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"
)

View File

@ -4,7 +4,7 @@ package main
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
)
func main() {

View File

@ -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() {

View File

@ -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"
)

View File

@ -2,7 +2,7 @@ package filters
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
"math"
)

View File

@ -1,7 +1,7 @@
package filters
import (
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
. "github.com/smartystreets/goconvey/convey"
"testing"
)

View File

@ -2,7 +2,7 @@ package filters
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
"math"
)

View File

@ -2,7 +2,7 @@ package filters
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
"math"
"testing"
)

View File

@ -2,7 +2,7 @@ package filters
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
)
type AbstractDiscretizeFilter struct {

View File

@ -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"
)

View File

@ -2,7 +2,7 @@ package linear_models
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
)
type LogisticRegression struct {

View File

@ -2,7 +2,7 @@ package meta
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
"math/rand"
"runtime"
"strings"

View File

@ -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"

View File

@ -2,7 +2,7 @@ package naive
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
"math"
)

View File

@ -1,7 +1,7 @@
package trees
import (
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
"math"
)

View File

@ -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"
)

View File

@ -2,7 +2,7 @@ package trees
import (
"fmt"
base "github.com/sjwhitworth/golearn/base"
"github.com/sjwhitworth/golearn/base"
"math/rand"
)

View File

@ -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"
)