Skip to content

I have made a future price prediction model using Facebook Prophet. Here I've used the avocado price dataset of USA.

Notifications You must be signed in to change notification settings

tejas-trivedi/Future_Price_Prediction_of_Products

Repository files navigation

Future_Price_Prediction_of_Products

I have made a future price prediction model using Facebook Prophet. Here I've used the avocado price dataset of USA.

Facebook Prophet is an open source tool used for time series forecasting.
Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects.
Prophet works best with time series that have strong seasonal effects and several seasons of historical data.




Prophet implements an additive regression model with four elements:


1. A piecewise linear, Prophet automatically picks up change points in the data and identifies any change in trends.
2. A yearly seasonal component modeled using Fourier series.
3. A weekly seasonal component.
4. A holiday list that can be manually provided.

Reference: https://research.fb.com/prophet-forecasting-at-scale/




In this project I've predicted the future price of Avacados in entire USA as well as region wise.
For this I've used the avacado dataset which had data collected from 2015 to 2018. Following is the result of the model.



Future prediction of price in entire USA.

Screenshot (336)

Here the black dots represent the price associated at particular time and the region containing these dots is our history of prices. The graph further tells the predicted price of the product. As we can see the future price in entire country will decrease in the next year. This prediction is very helpful as it tells the future demand for the product and helps in pre availability.

Screenshot (337)

The above graph shows the trend of the product according to time. This clearly shows the decrease in trend which results in price drop of product as predicted by the model.



Future prediction of price (region specific)

Screenshot (338)


.Above is the price prediction of only Chicago. We can see that the price of the product increases in this case.

Screenshot (339)
This graph shows the trend of the product is increasing in upcoming time.





This project includes the use of Facebook Prophet at its core. For further details on the mathematics behind this Prophet model visit:
1. https://research.fb.com/prophet-forecasting-at-scale/
2. https://facebook.github.io/prophet/docs/quick_start.html#python-api

About

I have made a future price prediction model using Facebook Prophet. Here I've used the avocado price dataset of USA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published