title: TypeError: __init__() got an unexpected keyword argument 'param_distributions'
body: <p>I am trying to use hyper parameter optimization in order to improve my model (gradient boosting) accuracy. Here are codes which I am trying to use:</p>
  
  <pre><code>grdHyperParams = {'loss' : ['deviance', 'exponential'],
                   'n_estimators': randint(10, 500),
                   'max_depth': randint(1,10)}
  
  gridSearch_grd = GridSearchCV(estimator=grd, param_distributions=grdHyperParams, n_iter=10, scoring='roc_auc',fit_params=None, cv=None, 
  verbose=2).fit(X3_train, y_train)
  </code></pre>
  
  <p>And I've got an error message:</p>
  
  <blockquote>
    <p><strong>init</strong>() got an unexpected keyword argument 'param_distributions'</p>
  </blockquote>
  
  <p>I looked for solutions and found out that version conflict might have occurred. So I checked my version and it was 0.21.3.</p>
  
  <p>What should I do guys?</p>