File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44import pytest
55
66from autointent import Pipeline
7- from autointent .configs import DataConfig , LoggingConfig
7+ from autointent .configs import DataConfig , HPOConfig , LoggingConfig
88from tests .conftest import get_search_space , setup_environment
99
1010
@@ -63,8 +63,9 @@ def test_bayes(dataset, sampler):
6363
6464 pipeline_optimizer .set_config (LoggingConfig (project_dir = project_dir , dump_modules = True , clear_ram = True ))
6565 pipeline_optimizer .set_config (DataConfig (scheme = "ho" , separation_ratio = 0.5 ))
66+ pipeline_optimizer .set_config (HPOConfig (sampler = sampler ))
6667
67- pipeline_optimizer .fit (dataset , refit_after = False , sampler = sampler )
68+ pipeline_optimizer .fit (dataset , refit_after = False )
6869
6970
7071@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments