diff --git a/README.md b/README.md index 71f7570..d3f65b7 100644 --- a/README.md +++ b/README.md @@ -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']; diff --git a/docs/index.md b/docs/index.md index 71f7570..d3f65b7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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'];