| line | true | false | branch | 
 
| 67 | 1 | 13 | if (@invalids) | 
 
| 72 | 1 | 12 | unless (exists $args->{'training_set'}) | 
 
| 75 | 1 | 11 | unless (ref $args and $args->{'training_set'}->isa('Algorithm::AM::DataSet')) | 
 
| 89 | 0 | 77 | if (exists $args->{$_} and 'CODE' ne ref $args->{$_}) | 
 
| 100 | 2 | 5 | if (not $test_set or 'Algorithm::AM::DataSet' ne ref $test_set) | 
 
| 103 | 1 | 4 | if ($self->training_set->cardinality != $test_set->cardinality) | 
 
| 110 | 1 | 3 | if ($self->begin_hook) | 
 
| 118 | 0 | 178 | if ($Algorithm::AM::Batch::log->is_debug) | 
 
| 126 | 2 | 176 | if ($self->begin_test_hook) | 
 
| 130 | 0 | 178 | if ($Algorithm::AM::Batch::log->is_debug) | 
 
| 141 | 4 | 178 | if ($self->begin_repeat_hook) | 
 
| 160 | 0 | 182 | if $Algorithm::AM::Batch::log->is_info | 
 
| 163 | 0 | 182 | if ($Algorithm::AM::Batch::log->is_info) | 
 
| 174 | 5 | 177 | if ($self->end_repeat_hook) | 
 
| 183 | 175 | 3 | if ($self->end_test_hook) | 
 
| 190 | 0 | 4 | if ($Algorithm::AM::Batch::log->is_info) | 
 
| 196 | 1 | 3 | if ($self->end_hook) | 
 
| 211 | 0 | 0 | if ($Algorithm::AM::Batch::log->is_debug) { } | 
 
|  | 0 | 0 | elsif ($Algorithm::AM::Batch::log->is_info) { } | 
 
| 228 | 4 | 178 | defined $self->max_training_items ? : | 
 
| 234 | 177 | 5 | if (not $self->training_item_hook and $self->probability == 1 and $max >= $self->training_set->size) { } | 
 
| 245 | 4 | 1 | $max > $self->training_set->size ? : | 
 
| 252 | 5 | 20 | if ($self->training_item_hook and not $self->training_item_hook->($self, $test_item, $iteration, $training_item)) | 
 
| 260 | 0 | 20 | if ($self->probability != 1 and rand() > $self->probability) |