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

This package is not auto-updated.

Last update: 2024-11-10 03:20:45 UTC


README

build

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'));