Aarhus-Psychiatry-Research/psycop-common

refactor: move result logging to `train_baseline_model_from_schema`

Closed this issue · 3 comments

By results, I mean logging the TrainingResult, i.e. the optimised metric and the "eval_df".

Currently, we duplicate it in both of the trainers. Since result logging is needed no matter which trainer you use, and all trainers must return a TrainingResult, it think it's better to move this one layer out.

What do you think @HLasse?

Yep, seems reasonable!

This issue is stale because it has been open for 14 days with no activity. Feel free to either 1) remove the stale label or 2) comment. If nothing happens, this will be closed in 7 days.

This issue was closed automatically. Feel free to re-open it if it's important.