Pipeline(steps=[('preprocessor',
                 ColumnTransformer(transformers=[('num',
                                                  Pipeline(steps=[('SimpleImputer',
                                                                   SimpleImputer(strategy='median'))]),
                                                  ['age', 'serum_bilirubin',
                                                   'serum_cholesterol',
                                                   'albumin',
                                                   'alkaline_phosphatase',
                                                   'SGOT', 'platelets',
                                                   'prothrombin_time']),
                                                 ('cat',
                                                  Pipeline(steps=[('SimpleImputer',
                                                                   SimpleImputer(strategy='most_frequent')),
                                                                  ('OneHotEnc...
                                                   'presence_of_hepatomegaly',
                                                   'presence_of_spiders']),
                                                 ('ord',
                                                  Pipeline(steps=[('SimpleImputer',
                                                                   SimpleImputer(strategy='most_frequent')),
                                                                  ('OrdinalEncoder',
                                                                   OrdinalEncoder(categories=[['0',
                                                                                               '0.5',
                                                                                               '1']]))]),
                                                  ['presence_of_edema'])])),
                ('RandomForestClassifier',
                 RandomForestClassifier(criterion='entropy', max_features=0.1,
                                        min_samples_leaf=6,
                                        min_samples_split=8))])
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.