You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BaseTuner has no scores attribute (just raw_scores) until record is run at least once. This means, for example, that without modifcation the readme snippet errors when run. Is this intentional? Obviously handling the first few trials manually is only mildly inconvenient (gettattr(tuner, 'scores', [])) but would be easy to fix if desired!
Thank you for detecting and reporting the issue! It is not intended to be like this, and during the latest changes and because of some naming discussions we completely forgot about scores.
Just if you are wondering: raw_scores (back in the day named scores) was used to save the scores that the user gives as an input and then we had another _scores which then had the normalized score (in case your problem is maximize or minimize).
I'm fixing this right now, and thank you once more.
Description
The
BaseTuner
has noscores
attribute (justraw_scores
) untilrecord
is run at least once. This means, for example, that without modifcation thereadme
snippet errors when run. Is this intentional? Obviously handling the first few trials manually is only mildly inconvenient (gettattr(tuner, 'scores', [])
) but would be easy to fix if desired!What I Did
(from readme)
Set-up selector.
Try and get first candidate:
The text was updated successfully, but these errors were encountered: