Right now, we always use a list with a single dictionary to represent the default parameter grid for a learner. However, GridSearchCV can take a plain dictionary as well. Given that we almost never search multiple grids, switching to a plain dictionary will make things a lot simpler when implementing voting and stacking learners.
Right now, we always use a list with a single dictionary to represent the default parameter grid for a learner. However,
GridSearchCV
can take a plain dictionary as well. Given that we almost never search multiple grids, switching to a plain dictionary will make things a lot simpler when implementing voting and stacking learners.