blib/lib/AI/ConfusionMatrix.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
15 | 1 | 1 | unless (defined $delem) |
19 | 0 | 2 | if ref $matrix ne 'HASH' |
22 | 0 | 2 | unless tie my @array, 'Tie::File', $file |
69 | 0 | 1 | if ref $matrix ne 'HASH' |
83 | 6 | 3 | unless (defined $stats{$expected}{'fp'}) |
88 | 9 | 12 | if $expected == $predicted |
89 | 12 | 9 | if ($expected != $predicted) |
95 | 15 | 6 | unless _findIndex($predicted, \@columns) |
122 | 20 | 67 | if $string eq @{$array;}[$_] |