Summary
In this chapter, we covered some ways of optimizing ML models and using the PyCaret AutoML package. Some of the model optimizations we looked at were hyperparameters, the amount of data we have (analyzed with learning curves), and the number of features we have with recursive feature selection. Although there are several AutoML packages in Python, we learned about PyCaret since it is quick and easy to use and delivers decent results.
In the next chapter, we will look at an important class of ML models – tree-based models. These include ML models such as decision trees, random forests, LightGBM, CatBoost, and XGBoost.