title: what is the difference between class weight = none and auto in svm scikit learn
body: <p>In scikit learn svm classifier what is the difference between class_weight = None and class_weight = Auto. </p>
  
  <p>From the documentation it is given as </p>
  
  <blockquote>
    <p>Set the parameter C of class i to class_weight[i]*C for SVC. If not given, all classes are supposed to have weight one. The ‘auto’ mode uses the values of y to automatically adjust weights inversely proportional to class frequencies.</p>
  </blockquote>
  
  <pre><code>class sklearn.svm.SVC(C=1.0, kernel='rbf', degree=3, gamma=0.0, coef0=0.0, shrinking=True, probability=False, tol=0.001, cache_size=200, class_weight=None, verbose=False, max_iter=-1, random_state=None)
  </code></pre>
  
  <p>But what is the advantage of using auto mode. I couldnt understand its implementation.</p>