Completed
Push — develop ( 7062ee...12ee62 )
by Arkadiusz
02:50
created

Backpropagation::train()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 4
1
<?php
2
3
declare (strict_types = 1);
4
5
namespace Phpml\NeuralNetwork\Training;
6
7
use Phpml\NeuralNetwork\Training;
8
9
class Backpropagation implements Training
10
{
11
12
    /**
13
     * @param array $samples
14
     * @param array $targets
15
     * @param float $desiredError
16
     * @param int $maxIterations
17
     */
18
    public function train(array $samples, array $targets, float $desiredError = 0.001, int $maxIterations = 10000)
19
    {
20
21
    }
22
23
}
24