Clique aqui para Português-BR
This study aimed to create a machine-learning model to predict the demand for wines in a specialized store for this product. Pandas Profiling was used to generate a report that assisted in the exploratory data analysis. Additionally, feature engineering was applied, resulting in 9 new attributes. The Augmented Dickey-Fuller (ADF) test indicated that the series was non-stationary, and for this reason, the series was transformed into a stationary one using techniques such as applying a log transformation to reduce the magnitude of values, subtracting the 30-period moving average, and differencing. The forecasting was performed with a parameter of 120 days, and the following methods were used: Naive approach, Moving Average, Holt's Linear Trend Model, ARIMA, Prophet, and PyCaret. In the latter, 27 preliminary models were generated, from which the best one was selected to proceed with hyperparameter tuning and data forecasting.
As a result, according to the Mean Absolute Percentage Error (MAPE), the ARIMA model performed the best with an error rate of only 2.33%, followed by Prophet with 2.87% and Holt with 2.90%.
The main results obtained were condensed into an infographic.
- Fetus's Health Classification Algorithm
- Life Insurance Price Prediction
- Churn Prediction
- Credit card fraud detection
- Airbnb New York
- An updated study of COVID-19 in Brazil and the world