From 3fd5abf566362539fb01ff6c584234d324315e36 Mon Sep 17 00:00:00 2001 From: Arkadiusz Kondas Date: Mon, 2 May 2016 14:10:49 +0200 Subject: [PATCH] fix typo in code example --- README.md | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'];