How to set parameters to search in scikit-learn GridSearchCV
There is a typo in pipe, no_estimators should be n_estimators.

To address your problem, if you run the following piece of code:

for param in rnd_search.get_params().keys():
    print(param)


This will show you how the parameters are passed to different parts of the pipeline, the parameters of interest are:


bag__base_estimator__svc__kernel
bag__base_estimator__svc__decision_function_shape


So you were almost there, you were just missing base_estimator__ in the svc pipeline parameters. All you need to do is change the svc parameters like so:

params = {
    'bag__bootstrap_features' : [True, False],
    'bag__base_estimator__svc__kernel': ['linear', 'rbf'],
    'bag__base_estimator__svc__decision_function_shape': ['ovo', 'ovr']
}