Skip to content

Commit

Permalink
added upper limit to number of nodes in default graph search space
Browse files Browse the repository at this point in the history
  • Loading branch information
perib committed Oct 10, 2024
1 parent ddd077b commit 29c27bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tpot2/config/template_search_spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def get_graph_search_space(classification=True, inner_predictors=True, cross_val
leaf_search_space = None,
inner_search_space = inner_search_space,
cross_val_predict_cv=cross_val_predict_cv,
max_size=15,
)

return search_space
Expand Down Expand Up @@ -113,6 +114,7 @@ def get_graph_search_space_light(classification=True, inner_predictors=True, cro
leaf_search_space = None,
inner_search_space = inner_search_space,
cross_val_predict_cv=cross_val_predict_cv,
max_size=15,
)

return search_space
Expand Down

0 comments on commit 29c27bd

Please sign in to comment.