title: Kernel SVC keeps getting errors on parameters in RandomSearchCV
body: <p>*This post continues from <a href="https://stackoverflow.com/questions/51018058/i-keep-getting-attributeerror-in-randomsearchcv/51018209?noredirect=1#comment89030469_51018209">here</a></p>
  
  <pre><code>classifier = SVC()
  parameters = {"kernel": ["rbf", "linear"],
                "gamma": scipy.stats.expon(scale=.1),
                "c": scipy.stats.expon(scale=100),
                "class_weight": ["balanced", None]}
  
  randomcv = RandomizedSearchCV(estimator=classifier, param_distributions=parameters,
                                scoring='accuracy', cv=10, n_jobs=-1,
                                random_state=0)
  randomcv.fit(x_tu, y_tu)
  </code></pre>
  
  <p>Hi, I'm not sure what's causing the problem with the code above.</p>
  
  <p>I'm getting a really long error message from <a href="https://pastebin.com/eE4XA5Vb" rel="nofollow noreferrer">here</a>, and can't read what the error is telling me.</p>
  
  <p>The same problem occurred when I was using a different classifier, but was able to solve them by changing the parameter range.</p>
  
  <p>For this one, nothing seems to work for me.</p>