Parameter grid for parameter (max_features) needs to be a list or numpy array, but got (<class 'scipy.stats._distn_infrastructure.rv_frozen'>) code example
Example: ValueError: Parameter values for parameter (splitter) need to be a sequence(but not a string) or np.ndarray. site:stackoverflow.com
'splitter':['best'] # not 'splitter':'best'