You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With reference to this comment, cca_zoo.model_selection.GridSearchCV's param_grid parameter should accept any type of iterator as dictionary values. Right now, np.array, pd.Series, list and tuple come to my mind. Both np.array and pd.Series can be easily converted into the list type by using their tolist() method (or by calling list() on them). Not sure about other data types. I guess, generally, any object that has the __iter__ and __next__ methods should be fine if it can be converted to a list?
The text was updated successfully, but these errors were encountered:
With reference to this comment,
cca_zoo.model_selection.GridSearchCV
'sparam_grid
parameter should accept any type of iterator as dictionary values. Right now,np.array
,pd.Series
,list
andtuple
come to my mind. Bothnp.array
andpd.Series
can be easily converted into thelist
type by using theirtolist()
method (or by callinglist()
on them). Not sure about other data types. I guess, generally, any object that has the__iter__
and__next__
methods should be fine if it can be converted to a list?The text was updated successfully, but these errors were encountered: