blib/lib/AI/Perceptron.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 11 | 63.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
130 | 0 | 14 | 0 | $self->max_iterations > 0 and $iter >= $self->max_iterations |
line | l | !l | condition |
---|---|---|---|
50 | 1 | 2 | $args{'Inputs'} || 1 |
1 | 2 | $args{'N'} || 0.05 | |
0 | 3 | $args{'T'} || 0 | |
70 | 2 | 0 | $self->weights->[$i] ||= 0 |