': Invalid parameter featureselection_estimator_c for estimator SVC(). Check the list of available parameters with `estimator.get_params().keys()

i am coding an immage classification model in google colab, the cell that am coding the classification algorithm gives me this error ValueError: Invalid parameter featureselection_estimator_c for estimator SVC(). Check the list of available parameters with `estimator.get_params().keys() what could be wrong? and how can i fix it? here is my code

#classification algorithm svm
from sklearn.model_selection import GridSearchCV
from sklearn import svm
param_grid = [
              {'c':[1,10,100,1000],'kernel':['linear']},
              {'c':[1,10,100,1000],'gamma':[0.001,0.0001],'kernel':['rbf']},
]

svc = svm.SVC(probability=False)
clf = GridSearchCV(svc,param_grid)
clf.fit(x_train,y_train)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source