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

Question about loading personal history data #1217

Open
Mr-yang12345 opened this issue Mar 19, 2025 · 1 comment
Open

Question about loading personal history data #1217

Mr-yang12345 opened this issue Mar 19, 2025 · 1 comment
Assignees

Comments

@Mr-yang12345
Copy link

If I manually measure some data, that is, configuration-performance pairs, and load them into SMAC, is the following code correct?

for performance, config in config_perf_pairs:
    config_instance = Configuration(configuration_space=config_space, values=config)
    smac.runhistory.add(config=config_instance, cost=performance, seed=0)
@daphne12345
Copy link
Contributor

Hello @Mr-yang12345 you can use the ask-and-tell interface for that. In this case you would only use "tell()". See the warmstarting example for that.

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

No branches or pull requests

2 participants