collect_opti_results#

gaitmap_challenges.challenge_base.collect_opti_results(cv_results: Dict) Optional[List[Dict[str, Any]]][source]#

Collect the optimization results.

This will check if an optimizer object is present in the cv_results and if so, it trys to extract the best parameters and score from it.

If you need more optimization information, you need to implement your own version of this.

Use this method as part of your get_core_results method to simplify its implementation.