Skip to content

Prophet time series forecasting model was developed by Facebook and is a powerful tool for predicting future events. Here's how to use it to forecast & understand your Data

Notifications You must be signed in to change notification settings

nitinjosephrepo/Using-Prophet-to-Forecast-Bikeshare-Demand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Forecast Bikeshare Annual Demand Using Facebook Prophet

Prophet

Prophet was developed internally at Facebook to meet the demand for high level forecasting and still provide flexibility. Out of the box Prophet typically produces high level forecast which is great but it's the insights into the data while doing that which are gold. For instance

  • User specified seasonaility curves such as hourly, quarterly, weekly, monthly or annually.
  • Better understand effect of holidays on demand. Qunatified in percentage change.
  • Positive or negative trend once seasonality is removed from data

Our Data for Forecast

We will be using data from Bike Share Program in Chicago, Illinois. The data contains the number of bicycle Rides taken each our from the beginning of 2014 through the end of 2017.

Our objective is to forecast for 2018, and while we are at It we are going to analyze our data for demand trends during weekly, monthly and holidays.

Forecast & Analysis

Forecast for 2018 Screenshot 2023-01-14 at 1 26 04 PM

Overall Trend is Positive. We see a steady increase in rideshare since 2014

Screenshot 2023-01-14 at 1 41 16 PM

Annual Seasonality

Screenshot 2023-01-14 at 1 45 52 PM

  • We see demand for bikes begins to increase in May (Spring) and starts to decline in November. Demand conincides with Summer and declines in Winter.

Weekly Seasonality

Screenshot 2023-01-14 at 1 56 45 PM

  • Ridership peaks on Tuesday with 20% increase and then gradually declines over the week and disappears on weekends. It shows that there is different seasonlity for week and weekends

Demand during holidays

Screenshot 2023-01-14 at 2 10 26 PM

Lets convert the above output into numbers which help us see how ridership demand looks like in each of the holiday.

Screenshot 2023-01-14 at 2 19 02 PM

We see that demand is negative on all holidays except three

  • Casmir Pulaski Day
  • Columbus day
  • Election Day

About

Prophet time series forecasting model was developed by Facebook and is a powerful tool for predicting future events. Here's how to use it to forecast & understand your Data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published