mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-22 04:55:10 +00:00
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
Block a user