GridSearchCV(cv=5,
estimator=Pipeline(steps=[('col_tf',
ColumnTransformer(transformers=[('num',
Pipeline(steps=[('num_impute',
SimpleImputer()),
('std',
StandardScaler())]),
['Age',
'Sex',
'RestBP',
'Chol',
'Fbs',
'RestECG',
'MaxHR',
'ExAng',
'Oldpeak',
'Slope',
'Ca']),
('cat',
Pipeline(steps=[('cat_impute',
SimpleImputer(strategy='most_frequent')),
('encoder',
OneHotEncoder(drop='first')),
('std',
StandardScaler(with_mean=False))]),
['ChestPain',
'Thal'])])),
('model',
SVC(kernel='poly', probability=True,
random_state=425))]),
param_grid={'model__C': [0.5, 1.0, 1.5, 2.0, 2.5, 3.0],
'model__degree': [2, 3, 4, 5]},
scoring='roc_auc')
In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.