Condition Coverage

blib/lib/Statistics/MaxEntropy.pm
Criterion Covered Total %
condition 20 33 60.6


and 3 conditions

line !l l&&!r l&&r condition
518 0 0 2 not $$self{'THIS_IS_A_SAMPLE'} and $$self{'PARAMETERS'}
523 0 1 1 $$self{'NEED_CORRECTION_FEATURE'} and $$self{'SCALER'} eq 'gis'
630 0 10690 16492 $$self{'NEED_CORRECTION_FEATURE'} and $$self{'SCALER'} eq 'gis'
787 0 1052672 817152 $$self{'NEED_CORRECTION_FEATURE'} and $$self{'SCALER'} eq 'gis'
1026 63 0 123 $$self{'SCALER'} eq 'gis' and $$self{'NEED_CORRECTION_FEATURE'}

or 3 conditions

line l !l&&r !l&&!r condition
128 71 2 0 ref $this || $this
438 0 0 3261 not $sum or $sum == $$self{'NR_CLASSES'}
872 18 0 4082 scalar keys %events == $Statistics::MaxEntropy::SAMPLE_size or scalar keys %events == 2 ** $$self{'NR_FEATURES'}
986 764 0 2049 abs $x - $old_x <= $Statistics::MaxEntropy::NEWTON_min or $k++ > $Statistics::MaxEntropy::NEWTON_max_it
1059 18 0 168 $diff <= $Statistics::MaxEntropy::KL_min or $k > $Statistics::MaxEntropy::KL_max_it
18 0 168 $diff <= $Statistics::MaxEntropy::KL_min or $k > $Statistics::MaxEntropy::KL_max_it or $diff < 0