Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenWuyifan committed Apr 17, 2024
1 parent 162bd45 commit 8eb424c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion alpha_automl/automl_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def _search_pipelines(self, automl_hyperparams):

found_pipelines = 0

while pipelines:
pipeline_threshold = 20
while pipelines and found_pipelines < pipeline_threshold:
pipeline = pipelines.pop()
try:
alphaautoml_pipeline = score_pipeline(pipeline, self.X, self.y, self.scoring,
Expand Down
5 changes: 3 additions & 2 deletions alpha_automl/pipeline_synthesis/setup_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ def evaluate_pipeline(primitives, origin):
pipeline_search_rllib(game, time_bound, save_checkpoint=save_checkpoint)

logger.debug('Search completed')

return read_result_to_pipeline(builder, output_folder)[:20]

results = read_result_to_pipeline(builder, output_folder)
return results
# queue.put('DONE')


Expand Down

0 comments on commit 8eb424c

Please sign in to comment.