1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-30 13:48:57 +08:00

Merge pull request #74 from amitkgupta/master

Tiny improvements
This commit is contained in:
Richard Townsend 2014-08-21 16:36:05 +01:00
commit 0c10896ff5
3 changed files with 6 additions and 2 deletions

3
.gitignore vendored
View File

@ -11,3 +11,6 @@
*.a
*.so
*.dll
# go test coverprofiles
*.coverprofile

View File

@ -55,5 +55,6 @@ func TestThreadFindAndWrite(T *testing.T) {
})
})
})
os.Remove("hello.db")
})
}
}

View File

@ -33,7 +33,7 @@ func TestKnnClassifier(t *testing.T) {
})
})
Convey("When predicting the label for our first vector", func() {
Convey("When predicting the label for our second vector", func() {
result2 := base.GetClass(predictions, 1)
Convey("The result should be 'red", func() {
So(result2, ShouldEqual, "red")