owenodriscoll / AutoML

Python package for automated hyperparameter-optimization of common machine-learning algorithms
MIT License
2 stars 0 forks source link

add assert that data is split prior to `regression_validation` #7

Closed owenodriscoll closed 1 year ago

owenodriscoll commented 1 year ago

regression_validation can be applied directly after regression_select_best if the training was already performed. In that case the data is not split into training and testing data. Add an insertion to confirm whether user has manually performed this method and else perform it automatically

https://github.com/owenodriscoll/AutoML/blob/b2a83c5760903e85721d9e6cfdf98cae2fe4590d/AutoML/automl.py#L488