Skip to content

Commit

Permalink
switch profiling for better perfomance
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenWuyifan committed May 1, 2024
1 parent 26e78e7 commit c519c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alpha_automl/automl_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def search_pipelines(self, X, y, scoring, splitting_strategy, automl_hyperparams
def _search_pipelines(self, automl_hyperparams):
search_start_time = time.time()
automl_hyperparams = self.check_automl_hyperparams(automl_hyperparams)
metadata = profile_data(self.X)
X, y, is_sample = sample_dataset(self.X, self.y, SAMPLE_SIZE, self.task)
metadata = profile_data(X)
internal_splitting_strategy = make_splitter(SPLITTING_STRATEGY)
self.found_pipelines = 0
need_rescoring = True
Expand Down

0 comments on commit c519c03

Please sign in to comment.