Skip to content

Adaptation of iid option of GridSearchCV #1

@stdiff

Description

@stdiff

https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html

GridSearchCV has a parameter iid for instantiation. This parameter is assumed to be boolean, but it not the case because the parameter will be deprecated and therefore the default value is "warn" or "depricated". As a result we always get an annoying "DepricatedWarning" unless we change the value manually.

The problem is modeling.simple_pipeline_cv. It creates a GridSearchCV instance. Of course we can explicitly give the value to the parameter, but the function must give a suitable value rather than using the default value of GridSearchCV.

The suitable value of the parameter must be "False".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions