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:
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)
|
||||
Convey("The result should be 'red", func() {
|
||||
So(result2, ShouldEqual, "red")
|
||||
|
Loading…
x
Reference in New Issue
Block a user