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 3, 2016
1 parent 501e46f commit 1cffa8b
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 1cffa8b

Please sign in to comment.