Automated model selection
The pmdarima
package is a powerful tool to help you choose the model orders. You can use the information you already have from the identification step to narrow down the model orders which you choose by automation.
Remember, although automation is powerful, it can sometimes make mistakes that you wouldn't. It is hard to guess how the input data could be imperfect and affect the test scores.
In this exercise you will use the pmdarima
package to automatically choose model orders for some time series datasets.
Be careful when setting the model parameters, if you set them incorrectly your session may time out.
Three datasets are available in your environment as df1
, df2
and df3
.
This exercise is part of the course
ARIMA Models in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Import pmdarima as pm