January 2020
Beginner to intermediate
432 pages
11h 24m
English
In the first step, we imported the required libraries. Then, we extracted the classifier and the ColumnTransformer preprocessor from the pipeline. In this recipe, we worked with a vanilla Random Forest classifier, without any hyperparameter tuning. The reason for this is that it gives a decent performance and, additionally, the computation time is much lower in comparison to the tuned one (with a higher number of estimators, and so on).
In Step 3, we extracted the column names from the ColumnTransformer preprocessor. It is important ...
Read now
Unlock full access