Using AutoML with PyCaret
So far, we've looked at a few different ML models. However, there are many more, and it can be tedious to try many of them by hand. An easier way to try many models at once is with automated machine learning, or AutoML.
The no free lunch theorem
In ML, we usually don't know which model will perform best. Take our logistic regression models and Naïve Bayes, and the logistic regression models from Chapter 11, Machine Learning for Classification, on classification. We didn't have too many reasons to know which one might perform best before trying them. Of course, we know the Gaussian Naïve Bayes assumes features have a normal distribution, which seemed wrong, so we might guess that model may not work well. We can use assumptions for models to guess which models may or may not work, but beyond that, we should try several different models and compare the results, then choose the best-performing model based on the model evaluation...