Skip to content

Commit

Permalink
knn: making space for additional test data
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentimentron committed Jul 11, 2016
1 parent de01a2f commit 063aab5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions knn/knn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (

func TestKnnClassifierWithoutOptimisations(t *testing.T) {
Convey("Given labels, a classifier and data", t, func() {
trainingData, err := base.ParseCSVToInstances("knn_train.csv", false)
trainingData, err := base.ParseCSVToInstances("knn_train_1.csv", false)
So(err, ShouldBeNil)

testingData, err := base.ParseCSVToInstances("knn_test.csv", false)
testingData, err := base.ParseCSVToInstances("knn_test_1.csv", false)
So(err, ShouldBeNil)

cls := NewKnnClassifier("euclidean", 2)
Expand All @@ -38,10 +38,10 @@ func TestKnnClassifierWithoutOptimisations(t *testing.T) {

func TestKnnClassifierWithOptimisations(t *testing.T) {
Convey("Given labels, a classifier and data", t, func() {
trainingData, err := base.ParseCSVToInstances("knn_train.csv", false)
trainingData, err := base.ParseCSVToInstances("knn_train_1.csv", false)
So(err, ShouldBeNil)

testingData, err := base.ParseCSVToInstances("knn_test.csv", false)
testingData, err := base.ParseCSVToInstances("knn_test_1.csv", false)
So(err, ShouldBeNil)

cls := NewKnnClassifier("euclidean", 2)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 063aab5

Please sign in to comment.