fix typo in code example

This commit is contained in:
Arkadiusz Kondas 2016-05-02 14:10:49 +02:00
parent abd3b38490
commit 3fd5abf566
2 changed files with 2 additions and 2 deletions

View File

@ -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'];

View File

@ -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'];