Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BTBSession crashes when record is not performed. #175

Closed
pvk-developer opened this issue Feb 17, 2020 · 0 comments · Fixed by #174
Closed

BTBSession crashes when record is not performed. #175

pvk-developer opened this issue Feb 17, 2020 · 0 comments · Fixed by #174
Milestone

Comments

@pvk-developer
Copy link
Collaborator

  • BTB version: 0.3.5
  • Python version: 3.6
  • Operating System: Ubuntu 18.04

Description

When runing a BTBSession with a Tunable({}) this will fail to record the score obtained with the "default" configuration of {}.

This case is an unusual one as the object Tunable without hyperparameters to tune shouldn't exist, however, during research on tuning hyperparameters of pipelines, we have faced this problem when there was no tunable hyperparameters on the pipeline.

Solution propose

We noticed that the cardinality is 1. In this case, the Tuner for that Tunable shouldn't be instantiated, tuner = None and then when attempts to record simply check that the selected tuner is not None.

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

Successfully merging a pull request may close this issue.

1 participant