title: ValueError: n_splits=3 cannot be greater than the number of members in each class
body: <p>I am getting an error:</p>
  
  <p><code>ValueError: n_splits=3 cannot be greater than the number of members in each class.</code></p>
  
  <p>In this line:</p>
  
  <pre><code>gs_clf_svm = gs_clf_svm.fit(X, y)
  
  y.shape
  Out[148]: (6,)
  
  y
  Out[149]: 
  array(['Andheri East', 'Goregaon', 'Powai', 'Andheri East', 'Goregaon',
         'Powai'], dtype=object)
  </code></pre>
  
  <p>In the above line is details of data and shape details. Please suggest </p>