Skip to content

Commit c09482d

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Remove error handling. There is something upstream more structural that makes this not work.
1 parent b9bc4fe commit c09482d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

generative-proof-of-concept-CPU-preprocessing-in-memory.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -706,11 +706,7 @@ def reset_state(self):
706706
cerebros_t0 = time.time()
707707
result = cerebros_automl.run_random_search()
708708
# Replace "inf" / "nan" with "worst result that can be bumerically registered"
709-
try:
710-
result = float(result) # Deep copy that survives del() of parent object ...
711-
except Exception as exc:
712-
print(exc)
713-
result = float(999999999999.9999)
709+
result = float(result) # Deep copy that survives del() of parent object ...
714710
cerebros_t1 = time.time()
715711
cerebros_time_all_models_min = (cerebros_t1 - cerebros_t0) / 60
716712
models_tried = moities_to_try * tries_per_moity

0 commit comments

Comments
 (0)