php-ml/src/Phpml/NeuralNetwork/Training.php
David Monllaó 4af8449b1c Neural networks improvements (#89)
* MultilayerPerceptron interface changes

- Signature closer to other algorithms
- New predict method
- Remove desired error
- Move maxIterations to constructor

* MLP tests for multiple hidden layers and multi-class

* Update all MLP-related tests

* coding style fixes

* Backpropagation included in multilayer-perceptron
2017-05-18 00:07:14 +02:00

15 lines
221 B
PHP

<?php
declare(strict_types=1);
namespace Phpml\NeuralNetwork;
interface Training
{
/**
* @param array $samples
* @param array $targets
*/
public function train(array $samples, array $targets);
}