mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-24 22:07:33 +00:00
fix typo in code example
This commit is contained in:
parent
abd3b38490
commit
3fd5abf566
@ -10,7 +10,7 @@ Fresh approach to Machine Learning in PHP. Note that at the moment PHP is not th
|
||||
|
||||
Simple example of classification:
|
||||
```php
|
||||
use Phpml\Classifier\KNearestNeighbors;
|
||||
use Phpml\Classification\KNearestNeighbors;
|
||||
|
||||
$samples = [[1, 3], [1, 4], [2, 4], [3, 1], [4, 1], [4, 2]];
|
||||
$labels = ['a', 'a', 'a', 'b', 'b', 'b'];
|
||||
|
@ -10,7 +10,7 @@ Fresh approach to Machine Learning in PHP. Note that at the moment PHP is not th
|
||||
|
||||
Simple example of classification:
|
||||
```php
|
||||
use Phpml\Classifier\KNearestNeighbors;
|
||||
use Phpml\Classification\KNearestNeighbors;
|
||||
|
||||
$samples = [[1, 3], [1, 4], [2, 4], [3, 1], [4, 1], [4, 2]];
|
||||
$labels = ['a', 'a', 'a', 'b', 'b', 'b'];
|
||||
|
Loading…
Reference in New Issue
Block a user