Skip to content

Commit

Permalink
fixed cross validation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lambday authored and karlnapf committed Jul 1, 2016
1 parent 6758320 commit b10a31d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -111,7 +111,7 @@ void MaxXValidation::compute_measures()
{
auto begin=rejections.get_column_vector(j);
auto size=rejections.num_rows;
measures[j]=std::accumulate(begin, begin+size, 0)/size;
measures[j]=std::accumulate(begin, begin+size, 0)/float64_t(size);
}
}

Expand Down

0 comments on commit b10a31d

Please sign in to comment.