2017 © Pedro Peláez
 

library neural-network

Create a multilayer perceptron and make it learn life.

image

alcalyn/neural-network

Create a multilayer perceptron and make it learn life.

  • Tuesday, April 11, 2017
  • by alcalyn
  • Repository
  • 0 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

Neural network

Create a multilayer perceptron and make it learn., (*1)

Usage

``` php use Alcalyn\NeuralNetwork\Network;, (*2)

Creates a new multilayer perceptron

$network = new Network([2, 4, 1]);, (*3)

Takes an input and let it cogitate

$network->pulseInput([1, 0]); # Returns an array as output, (*4)

Takes an array of tuples input/expected output

and adjust the network one iteration to adapt the output the expected result

$network->trainInput([[1, 0], [1]]); # Returns an array as output ```, (*5)

Examples

License

This library is under MIT License., (*6)

The Versions

11/04 2017

dev-master

9999999-dev https://github.com/alcalyn/neural-network

Create a multilayer perceptron and make it learn life.

  Sources   Download

MIT