VIDA-NYU / alpha-automl

Alpha-AutoML is a Python library for automatically generating end-to-end machine learning pipelines.
https://alpha-automl.readthedocs.io
Apache License 2.0
19 stars 3 forks source link

n_splits passing to the api object will cause a duplication error #37

Closed EdenWuyifan closed 1 year ago

EdenWuyifan commented 1 year ago
image image
roquelopez commented 1 year ago

It's because you are using the holdout strategy. If you use a n_splits > 1, you should use cross-validation (cv parameter). Anyway, I'm going to add a checker.

EdenWuyifan commented 1 year ago

I see, thanks! I will change the strategy to cv