Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

make assessors support metric data in dict #2121

Merged
merged 3 commits into from
Mar 6, 2020

Conversation

QuanluZhang
Copy link
Contributor

@QuanluZhang QuanluZhang commented Mar 5, 2020

  1. make assessors support metric data in dict
  2. fix bug when includeIntermediateResults is true

Incorrect final result: the final result should be float/int,
or a dict which has a key named "default" whose value is float/int.
"""
return [extract_scalar_reward(ele) for ele in trial_history]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the scalar_key should be passed to extract_scalar_reward

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MedianstopAssessor silently crashes dispatcher when reporting multiple metrics
3 participants