mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-25 06:17:34 +00:00
update docs example
This commit is contained in:
parent
7ab1ae97de
commit
d19490d62a
@ -23,6 +23,9 @@ $imputer = new Imputer(null, new MedianStrategy(), Imputer::AXIS_ROW);
|
|||||||
## Example of use
|
## Example of use
|
||||||
|
|
||||||
```
|
```
|
||||||
|
use Phpml\Preprocessing\Imputer;
|
||||||
|
use Phpml\Preprocessing\Imputer\Strategy\MeanStrategy;
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
[1, null, 3, 4],
|
[1, null, 3, 4],
|
||||||
[4, 3, 2, 1],
|
[4, 3, 2, 1],
|
||||||
|
Loading…
Reference in New Issue
Block a user