dev-master
9999999-dev http://github.com/zeopix/machine-learningSimple Machine Learning POO Implementation
Apache-2.0
The Requires
- php >=5.5.9
The Development Requires
machine learning learning machine maths
Simple Machine Learning POO Implementation
Simple stupid machine learning library for php, (*1)
This library is not designed for production or high performance requirements, it's more a proof of concept and framework to play with Machine Learning Algorithms., (*3)
Include with composer, (*4)
composer require zeopix/machine-learning
use Zeopix\MachineLearning\Application\Service\LinearRegressionService use Zeopix\MachineLearning\Domain\Model\Value\VectorValue; $linearRegressionService = new LinearRegressionService(); $data = [ [[2,3], 1], [[4,6], 2] ]; $training = $linearRegressionService->train($data); $prediction = $training->predict(new VectorValue([8,12]));
Simple Machine Learning POO Implementation
Apache-2.0
machine learning learning machine maths