PHP Class Phpml\NeuralNetwork\Network\MultilayerPerceptron

Inheritance: extends LayeredNetwork
Show file Open project: php-ai/php-ml Class Usage Examples

Public Methods

Method Description
__construct ( array $layers, Phpml\NeuralNetwork\ActivationFunction $activationFunction = null )

Private Methods

Method Description
addBiasNodes ( )
addInputLayer ( integer $nodes )
addNeuronLayers ( array $layers, Phpml\NeuralNetwork\ActivationFunction $activationFunction = null )
generateLayerSynapses ( Layer $nextLayer, Layer $currentLayer )
generateNeuronSynapses ( Layer $currentLayer, Neuron $nextNeuron )
generateSynapses ( )

Method Details

__construct() public method

public __construct ( array $layers, Phpml\NeuralNetwork\ActivationFunction $activationFunction = null )
$layers array
$activationFunction Phpml\NeuralNetwork\ActivationFunction