ValidationException: The data points should have at least 50 rows for a valid regression or classification task with cv 5.

Anonymous
2021-08-26T14:05:55.287+00:00

I am trying to run a autoML model as follows:

automl_settings = {
"n_cross_validations": 5
}

automl_config = AutoMLConfig(task = 'regression',
compute_target = compute_target,
training_data = train_data.filter(train_data['location']==l),
label_column_name = label,
**automl_settings)

remote_run = experiment.submit(automl_config, show_output=True)

And I get: ValidationException: The data points should have at least 50 rows for a valid regression or classification task with cv 5.

The data has more than 250 rows. Moreover, when I changed the cv number, nothing changed. Does anybody have any idea what might be happening?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,653 questions
{count} votes

Accepted answer
  1. YutongTie-MSFT 47,421 Reputation points
    2021-09-02T08:54:47.363+00:00

    Hello,

    Hope you have solved this issue. If you are still blocked by this, please feel free to let us know. We can either investigate deeper if we can have more details, or we can help you to enable a support ticket if you do not have a support plan. Thanks.

    Regards,
    Yutong

    0 comments No comments

0 additional answers

Sort by: Most helpful