Skip to content

Commit b4d1e95

Browse files
committed
added error pass
1 parent 3c3535c commit b4d1e95

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ml_grid/pipeline/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ def multi_run_wrapper(args: Tuple) -> Any:
208208
self.highest_score = max(self.highest_score, res)
209209
print(f"highest score: {highest_score}")
210210

211+
except ValueError as e:
212+
if "All feature columns were removed" in str(e):
213+
print(f"Skipping run due to data issue: {e}")
214+
continue # Skip to the next iteration
215+
211216
except CatBoostError as e:
212217
print(f"CatBoostError: {e}")
213218
print(f"continuing despite catboost error...")

0 commit comments

Comments
 (0)