Fix typo in naive bayes docs
This commit is contained in:
parent
cc8e1b3753
commit
6844cf407a
|
@ -24,6 +24,6 @@ To predict sample label use `predict` method. You can provide one sample or arra
|
||||||
$classifier->predict([3, 1, 1]);
|
$classifier->predict([3, 1, 1]);
|
||||||
// return 'a'
|
// return 'a'
|
||||||
|
|
||||||
$classifier->predict([[3, 1, 1], [1, 4, 1]);
|
$classifier->predict([[3, 1, 1], [1, 4, 1]]);
|
||||||
// return ['a', 'b']
|
// return ['a', 'b']
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue