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',
MLPClassifier(batch_size=16,
hidden_layer_sizes=(8, 4),
random_state=425))]),
param_grid={'model__batch_size': [4, 8, 12, 16, 20, 24, 28, 32],
'model__hidden_layer_sizes': [4, 8, 12, (4, 2), (8, 4),
(12, 6)]},
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.