I am getting an error:
ValueError: n_splits=3 cannot be greater than the number of members in each class.
In this line:
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)
In the above line is details of data and shape details. Please suggest