1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-26 13:49:14 +08:00

Fix error in test description for KnnClassifier

This commit is contained in:
Amit Kumar Gupta 2014-08-19 06:22:10 +00:00
parent 710eabd2b7
commit 36048a9922

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