zeeml / machinelearning
There is no license information available for the latest version (dev-master) of this package.
dev-master
2017-07-22 12:28 UTC
Requires
- php: >=7.0.0
- zeeml/algorithms: dev-master
- zeeml/dataset: dev-master
Requires (Dev)
- phpunit/phpunit: 6.0.8
This package is not auto-updated.
Last update: 2024-11-10 03:20:45 UTC
README
MachineLearning
Machine Learning Library in PHP
$ml = new ML(Dataset::factory('/path/to/csv'));
$ml
->using([LinearRegression::class, LogisticRegression::class])
->epochs(12)
->fit()
;
$ml
->using([KNearestNeighbors::class])
->epochs(2)
->fit()
;
$ml->test();
$ml->stats();
$ml->predict(LinearRegression::class, Dataset::factory('/path/to/newCsv'));