I would like to change the number of folds for my regression CV.
I know that I have to use
set_partitioning_method(cv_method="CV", reps=20, validation_pct=10, holdout_pct=20)¶
but I've no idea where to use this.
I tried to add it in partitioning_method
project.analyze_and_model(
target=target,
metric=ACCURACY_METRIC.MAE,
worker_count=-1,
partitioning_method = spec
)
Any help will be appreciated
Solved! Go to Solution.
Hi @dd
To set the partitioning you need to set it at the project level, so the way to call it is by:
project.set_partitioning_method(cv_method="CV", reps=20, validation_pct=10, holdout_pct=20)
Hope that helps. If it doesn't please reply with the updated issue.
Cheers,
Callum
Hi @dd
To set the partitioning you need to set it at the project level, so the way to call it is by:
project.set_partitioning_method(cv_method="CV", reps=20, validation_pct=10, holdout_pct=20)
Hope that helps. If it doesn't please reply with the updated issue.
Cheers,
Callum
Thank you! Simpler than what I thought.