Skip to content

Commit

Permalink
Limit max iterations for custom model training
Browse files Browse the repository at this point in the history
  • Loading branch information
kvantricht authored Oct 17, 2024
1 parent fd1cd58 commit 2534995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ class names to use, by default None

# Define classifier
custom_downstream_model = CatBoostClassifier(
iterations=8000,
iterations=2000, # Not too high to avoid too large model size
depth=8,
early_stopping_rounds=50,
loss_function=loss_function,
Expand Down

0 comments on commit 2534995

Please sign in to comment.