Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescMartiEscofetQC committed Jul 17, 2024
1 parent 4682e53 commit b1fd5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metalearners/grid_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ def fit(
parallel = Parallel(
n_jobs=self.n_jobs, verbose=self.verbose, return_as=return_as
)
self.raw_results = parallel(delayed(_fit_and_score)(job) for job in jobs)
self.raw_results_ = parallel(delayed(_fit_and_score)(job) for job in jobs)
if self.store_results:
self.results_ = _format_results(results=self.raw_results)
self.results_ = _format_results(results=self.raw_results_) # type: ignore
if not self.store_raw_results:
# This just checks that the generator is empty
try:
Expand Down

0 comments on commit b1fd5b8

Please sign in to comment.