2017 © Pedro Peláez
 

library machine-learning

Simple Machine Learning POO Implementation

image

zeopix/machine-learning

Simple Machine Learning POO Implementation

  • Wednesday, April 13, 2016
  • by zeopix
  • Repository
  • 2 Watchers
  • 8 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MachineLearning

Simple stupid machine learning library for php, (*1)

Build Status Scrutinizer Code Quality Code Coverage, (*2)

Warning

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)

Features

  • Gradient Descent Algorithm
  • Mean Scale Normalization
  • Linear Hypothesis for multiple unlimited variables

Usage

Include with composer, (*4)

composer require zeopix/machine-learning

Train your dataset

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

The Versions

13/04 2016

dev-master

9999999-dev http://github.com/zeopix/machine-learning

Simple Machine Learning POO Implementation

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.9

 

The Development Requires

machine learning learning machine maths