mirror of
https://github.com/sjwhitworth/golearn.git
synced 2025-04-28 13:48:56 +08:00
Fix error in test description for KnnClassifier
This commit is contained in:
parent
710eabd2b7
commit
36048a9922
@ -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)
|
result2 := base.GetClass(predictions, 1)
|
||||||
Convey("The result should be 'red", func() {
|
Convey("The result should be 'red", func() {
|
||||||
So(result2, ShouldEqual, "red")
|
So(result2, ShouldEqual, "red")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user