zeeml/machinelearning

There is no license information available for the latest version (dev-master) of this package.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/zeeml/machinelearning

dev-master 2017-07-22 12:28 UTC

This package is not auto-updated.

Last update: 2025-10-12 07:53:01 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'));