Skip to content

Commit

Permalink
fix: add mltype in metrics.json even if training is not over
Browse files Browse the repository at this point in the history
  • Loading branch information
Bycob authored and mergify[bot] committed Nov 22, 2021
1 parent b086b77 commit 9bda7f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mlservice.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,9 @@ namespace dd
max_hist_points
= ad_params_out.get("max_hist_points").get<int>();
this->collect_measures_history(out, max_hist_points);
out.add("mltype", this->_mltype);
out.add("sname", this->_sname);
out.add("description", this->_description);
}
else if (status == std::future_status::ready)
{
Expand Down

0 comments on commit 9bda7f7

Please sign in to comment.