Skip to content

Commit

Permalink
Calculating validation score for log stats
Browse files Browse the repository at this point in the history
  • Loading branch information
gAldeia committed Sep 13, 2024
1 parent b90684b commit 616f8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eval/evaluation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void Evaluation<T>::assign_fit(Individual<T>& ind, const Dataset& data,
for (const auto& n : ind.get_objectives())
{
if (n.compare(params.scorer)==0)
values.push_back(f_v); // f_v == f if `val` is false
values.push_back(val ? f_v : f);
else if (n.compare("complexity")==0)
values.push_back(ind.get_complexity());
else if (n.compare("linear_complexity")==0)
Expand Down

0 comments on commit 616f8a2

Please sign in to comment.