SlideShare a Scribd company logo
Copyright © 2018 weiwei1988 All Rights Reserved.
Proposal for
A Demand Prediction Model and
A Dynamic Pricing Model
for Share Bike Business
Utilizing Machine Learning
weiwei1988
Copyright © 2018 weiwei1988 All Rights Reserved.
1. Basic Understandings for the Share Bike Business
2. Analysis on the Influence Factors on demands
3. The Demand Prediction Model Utilizing Machine
Learning
4. The Dynamic Pricing Model Based on the Demand
Prediction Model
Copyright © 2018 weiwei1988 All Rights Reserved.
1. Basic Understandings for the Share Bike Business
2. Analysis on the Influence Factors on demands
3. The Demand Prediction Model Utilizing Machine
Learning
4. The Dynamic Pricing Model Based on the Demand
Prediction Model
Copyright © 2018 weiwei1988 All Rights Reserved.
The “Gobike” is a share bike business provided by
Ford Motor in San Francisco bay area since 2013.
City Stations
Mountain View 7
Palo Alto 5
Redwood City 7
San Francisco 35
San Jose 16
No. of Stations before Aug. 2015
Source: https://www.fordgobike.com/
Copyright © 2018 weiwei1988 All Rights Reserved.
Issue for the share bike business:
The growth of demand has stagnated since Oct. 2014.
No. of Demands by Month [Trips]
Copyright © 2018 weiwei1988 All Rights Reserved.
The cause of growth stagnation:
The No. of trips varies by the station in different cities.
Period for analysis:
Aug. 2013/8~Aug. 2015
For ex: Demands in downtown area like San Francisco has maximum No. of 50 thousand
trips, Palo Alto, on the other hand, had only 2 thousands trips in total.
Other factors such as Month,
Date, Weather also influence
the No. of demands
Copyright © 2018 weiwei1988 All Rights Reserved.
The cause of growth stagnation:
However, No. of docks in each station did not match
the diversified No. of trips in different stations.
Period for analysis:
Aug. 2013/8~Aug. 2015
Copyright © 2018 weiwei1988 All Rights Reserved.
The cause of growth stagnation:
Inflexible price plan was another big problem.
Current Price Plan:
$3 / Trip (Up to 30min)
$9.95 / Day (Up to 30min)
$149/Year(up to 45min for subscribers)
Source: https://www.fordgobike.com/
Copyright © 2018 weiwei1988 All Rights Reserved.
It is necessary to understand the precise demands of
trips to avoid supply and demands un-matching
situation.
No. of demands varies by station,
city, and some other factors.
However, No. of docks and
price plan are inflexible.
Un-matching problems occurs between supply
and demand, which lead to the stagnation of the
business growth.
It is necessary to understand the precise demand
of trips to adjust the no. of docks and price plan.
A Proposal for demand prediction utilizing the
machine learning technique.
Copyright © 2018 weiwei1988 All Rights Reserved.
1. Basic Understandings for the Share Bike Business
2. Analysis on the Influence Factors on demands
3. The Demand Prediction Model Utilizing Machine
Learning
4. The Dynamic Pricing Model Based on the Demand
Prediction Model
Copyright © 2018 weiwei1988 All Rights Reserved.
Influence Factors on demands:
The No. of trips in weekday and weekend have substantial
difference. Weekdays have 2-3 times larger trips.
Weekday: Mon/Tue/Wen/Thu/Fri
Weekend: Sat/SunNo. of trips by day
Period for analysis:
Aug. 2013/8~Aug. 2015
Copyright © 2018 weiwei1988 All Rights Reserved.
Influence Factors on demands:
Influence of weekends also varies by cities:
Weekend trips in downtown area drops substantially.
Period for analysis:
Aug. 2013/8~Aug. 2015
Copyright © 2018 weiwei1988 All Rights Reserved.
Influence Factors on demands:
The No. of trips also depend on the time zone. Moring rush &
evening rush indicate sharp increase on demand.
集計期間:2013/8~2015/8の3年間
Copyright © 2018 weiwei1988 All Rights Reserved.
Influence factors on demands:
No. of trips tend to increase in summer,
but tend to drop in winter.
Period for analysis:
Aug. 2013/8~Aug. 2015
Copyright © 2018 weiwei1988 All Rights Reserved.
Influence factors on demands:
Most of trips concentrate on the days without weather
events. (No_RainForg stands for the NaN of weather events)
Period for analysis:
Aug. 2013/8~Aug. 2015
Copyright © 2018 weiwei1988 All Rights Reserved.
Influence factors on demands:
The mean temperature seems to have some influence on No. of
trips: Higher temperature lead to more demand.
WeekendWeekday
Period for analysis:
Aug. 2013/8~Aug. 2015
Copyright © 2018 weiwei1988 All Rights Reserved.
Influence factors on demands:
Ref:On the other hand, wind speed seems have little
correlation with the demand.
WeekendWeekday
Period for analysis:
Aug. 2013/8~Aug. 2015
Copyright © 2018 weiwei1988 All Rights Reserved.
1. Basic Understandings for the Share Bike Business
2. Analysis on the Influence Factors on demands
3. A Demand Prediction Model Utilizing Machine
Learning
4. The Dynamic Pricing Model Based on the Demand
Prediction Model
Copyright © 2018 weiwei1988 All Rights Reserved.
The Demand Prediction Model:
A demand prediction model based on machine learning was
proposed to forecast the No. of trips at defined station on
defined date, time zone.
Input
Output
Station Location
(LAT, LONG)
Datetime
(Year/Month/Date)
Weekday Flag
(Weekday/Weekend)
Time Zone
(Moring Rush/Noon…)
Weather indicators
(Temperature, Pressure…)
No. of trips at
defined station in
defined date, time
zone.
Set multiple variables such as
station location, datetime, week
flag, time zone and weather
indicators as inputs of tanning
data.
Set No. of trips at
defined station in
defined datetime,
time zone as
output of the
training data.
Use training data to train the selected machine learning
models, and select the model with highest precision.
x1
x2
x3
xn
xn-1
….
y
Prediction
Inputs
Create a demand prediction model for the No. of trips.
1 2
3
4
Regression
Rige Regression
Lasso Regression
Random Forest
Decision Tree
Gradient Boosting
Ada Boosting
Selected Machine Learning Models
Copyright © 2018 weiwei1988 All Rights Reserved.
Explanatory variables Factor/Unit Data Source
Latitude of the Station (LAT) deg. station.csv
Longitude of the Station (LONG) deg. station.csv
Year 2013/2014/2015 trip.csv
Month 1/2/3/4/5/6/7/8/9/10/11/12 trip.csv
Day 1-31 trip.csv
Weekflag Weekday(Mon/Tue/Wed/Thu/Fri)
Weekend(Sat/Sun)
Variable create using conduction branch
from “Weekday” in trip.csv
Timezone Moring Rush (6-10)
Noon(11-15)
Evening Rush(16-20)
Night(21-5 on next day)
Variable create using conduction branch
from “Weekday” in trip.csv
Weather Events No_RainFog(No events: NaN)/
Rain/Fog-Rain/Rain-Thunderstorm
weather.csv*
Mean temperature F weather.csv*
Mean humidity % weather.csv*
Mean wind speed mph weather.csv*
Mean sea level pressure inches weather.csv*
Cloud cover 0/1/2/3/4/5/6/7/8 weather.csv*
Mean visibility miles weather.csv*
Precipitation inches weather.csv*
Preconditions of the tranining:
Explanatory and explained variables
Period for analysis:Aug. 2013/8~Aug. 2015
Explained Variable Factor/Unit Data Source
No. of Trips times Grouped by explanatory variables from
trips.csv
*the NaN of weather.csv were filled
with fillna(method = ‘pad’)
Copyright © 2018 weiwei1988 All Rights Reserved.
Preconditions of the trainning:
Selected Models, Datasets for Tanning and Validation.
• Selected Machine Learning Models
• Regression
• Rige Regression
• Lasso Regression
• Decision Tree
• Datasets for Training
• 80% of random samples from Aug. 2013 to Aug. 2015
• Datasets for Validation
• 20% of random samples from Aug. 2013 to Aug. 2015
• Cross Validation
• 5 times
• Python library for Tanning
• Scikit learn
• Random Forest
• Gradient Boosting
• Ada Boosting
Copyright © 2018 weiwei1988 All Rights Reserved.
Model Validation:
Radom Forest Regression was selected as prediction
model because of the highest precision scores.
Selected Models Mean R2
Negative Mean Squad
Error
Regression 0.24 -40.02
Rige Regression 0.24 -40.02
Lasso Regression 0.00 -52.65
Decision Tree 0.68 -16.68
Random Forest 0.85 -8.22
Gradient Boosting 0.60 -21.05
Ada Boosting 0.40 -31.53
Copyright © 2018 weiwei1988 All Rights Reserved.
Parameter Tuning:
Random forest regressor was tuned with listed parameters
using grid search.
tuned_parameters_rdfr = {
"max_depth": [2,3, None],
"n_estimators":[100, 200, 300],
"max_features": [1, 3, 5],
"min_samples_split": [2, 3, 10],
"min_samples_leaf": [1, 3, 10],
"bootstrap": [True, False],
}
Regressor was tuned using
GridSearchCV method (CV=5)
max_depth=None, max_features=5, max_leaf_nodes=None, min_impurity_decrease=0.0,
min_impurity_split=None, min_samples_leaf=1, min_samples_split=10,
min_weight_fraction_leaf=0.0, n_estimators=300
Copyright © 2018 weiwei1988 All Rights Reserved.
Prediction results:
The No. of trips by each day were relatively well predicated
by the machine learning model for practical usage.
Actual and predicted No. of trips by day (cumulative sum for all stations)
Copyright © 2018 weiwei1988 All Rights Reserved.
Prediction results:
Ref: Results for head 100 datasets.
Actual and predicted No. of trips by day (cumulative sum for all stations)
Copyright © 2018 weiwei1988 All Rights Reserved.
Prediction results:
The No. of trips by each time zone were relatively well
predicated by the machine learning model for practical usage.
Actual and predicted No. of trips by time zone (San Francisco, Weekday)
Copyright © 2018 weiwei1988 All Rights Reserved.
Prediction results:
Ref: Results for head 100 datasets.
Actual and predicted No. of trips by time zone (San Francisco, Weekday)
Copyright © 2018 weiwei1988 All Rights Reserved.
Importance score:
Variables with relatively high importance score are:
Location(Long&Lat), Timezone, Weekflag, Year and Temperature
Importance score of each explanatory variables
Copyright © 2018 weiwei1988 All Rights Reserved.
1. Basic Understandings for the Share Bike Business
2. Analysis on the Influence Factors on demands
3. A Demand Prediction Model Utilizing Machine
Learning
4. A Dynamic Pricing Model Based on the Demand
Prediction Model
Copyright © 2018 weiwei1988 All Rights Reserved.
Dynamic Pricing Model:
A Dynamic pricing model based on the demand prediction
model instead of current inflexible pricing plan was proposed
to solve the demand supply un-matching problem.
Demands
Price
Price
Demands
Price was constant in spite of fluctuate demand,
which lead to demand supply gap.
Current Pricing Plan Proposed Pricing Model
Price will be set based on the demand prediction
results by machine learning, which could balance
the demand and supply.
Price Fluctuation Rate%(t) = (1/P.E.)×Demand Fluctuation Rate%(t)
Model
Example:
Price Fluctuation Rate = Set Price / Current Constant Price
Demand Fluctuation Rate = Predicted Demand / Average Demands
P.E. : Price Elasticity
Copyright © 2018 weiwei1988 All Rights Reserved.
How to benefit customers?
Integrate the dynamic pricing model to the APP,
Provide customers with real-time optimized price.
Price Fluctuation Rate
InputStation Location/
Date/Weather…
1
Get the necessary
data from user app. 2 Predict the demand at the
defined condition
3 Use the dynamic pricing
model to calculate the
optimized price at this point.
4 Offer the price on the app,
allow customers to make
payments at real time.
Current
Price to
offer
Copyright © 2018 weiwei1988 All Rights Reserved.
Ex: Price fluctuation rate to offer.
Price Fluctuation Rate (San Francisco, Weekday) Price Elasticity = 10

More Related Content

Similar to A Demand Prediction Model and A Dynamic Pricing Model for Share Bike Business Utilizing Machine Learning

Automated Ads - The Future is Now - Blake Burch
Automated Ads - The Future is Now - Blake BurchAutomated Ads - The Future is Now - Blake Burch
Automated Ads - The Future is Now - Blake Burch
State of Search Conference
 
Developing Comprehensive National Statistics
Developing Comprehensive National StatisticsDeveloping Comprehensive National Statistics
Developing Comprehensive National Statistics
Arab Federation for Digital Economy
 
Digital technology trends and their impact on ship emissions GST 2018 pr...
Digital technology trends and their impact on ship emissions GST 2018 pr...Digital technology trends and their impact on ship emissions GST 2018 pr...
Digital technology trends and their impact on ship emissions GST 2018 pr...
Mark Brookes
 
RAES-AAMGA-Mar14
RAES-AAMGA-Mar14RAES-AAMGA-Mar14
RAES-AAMGA-Mar14
Angelyn Treutel
 
Predictive Scaling for More Responsive Applications (API330) - AWS re:Invent ...
Predictive Scaling for More Responsive Applications (API330) - AWS re:Invent ...Predictive Scaling for More Responsive Applications (API330) - AWS re:Invent ...
Predictive Scaling for More Responsive Applications (API330) - AWS re:Invent ...
Amazon Web Services
 
Prediction of Used Car Prices using Machine Learning Techniques
Prediction of Used Car Prices using Machine Learning TechniquesPrediction of Used Car Prices using Machine Learning Techniques
Prediction of Used Car Prices using Machine Learning Techniques
IRJET Journal
 
IRJET - App for Ride Sharing
IRJET - App for Ride SharingIRJET - App for Ride Sharing
IRJET - App for Ride Sharing
IRJET Journal
 
Dynamic Real time taxi ride-sharing android Application
Dynamic Real time taxi ride-sharing android Application  Dynamic Real time taxi ride-sharing android Application
Dynamic Real time taxi ride-sharing android Application
IRJET Journal
 
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Conference
 
HUGIreland_VincentDeStocklin_DataScienceWorkflows
HUGIreland_VincentDeStocklin_DataScienceWorkflowsHUGIreland_VincentDeStocklin_DataScienceWorkflows
HUGIreland_VincentDeStocklin_DataScienceWorkflows
John Mulhall
 
SAP Leonardo Smart Mobility SEMICON
SAP Leonardo Smart Mobility SEMICONSAP Leonardo Smart Mobility SEMICON
SAP Leonardo Smart Mobility SEMICON
Pierre Erasmus
 
Driving the Data Pipelines for Connected Vehicles with Spring Cloud Data Flow
Driving the Data Pipelines for Connected Vehicles with Spring Cloud Data FlowDriving the Data Pipelines for Connected Vehicles with Spring Cloud Data Flow
Driving the Data Pipelines for Connected Vehicles with Spring Cloud Data Flow
VMware Tanzu
 
Cape to Cape Challenge Reveals Potentials: Big Data Analytics for the Car of ...
Cape to Cape Challenge Reveals Potentials: Big Data Analytics for the Car of ...Cape to Cape Challenge Reveals Potentials: Big Data Analytics for the Car of ...
Cape to Cape Challenge Reveals Potentials: Big Data Analytics for the Car of ...
Hewlett Packard Enterprise Business Value Exchange
 
Big Data Analytics for the Car of the Future
Big Data Analytics for the Car of the FutureBig Data Analytics for the Car of the Future
Big Data Analytics for the Car of the Future
Hewlett Packard Enterprise Business Value Exchange
 
Digital Shift in Insurance: How is the Industry Responding with the Influx of...
Digital Shift in Insurance: How is the Industry Responding with the Influx of...Digital Shift in Insurance: How is the Industry Responding with the Influx of...
Digital Shift in Insurance: How is the Industry Responding with the Influx of...
DataWorks Summit
 
IoT business models for Insurance
IoT business models for InsuranceIoT business models for Insurance
IoT business models for Insurance
Upgrade-Code.org
 
IRJET- A Review Paper on Insurance Telematics for Vehicle Insurance
IRJET- A Review Paper on Insurance Telematics for Vehicle InsuranceIRJET- A Review Paper on Insurance Telematics for Vehicle Insurance
IRJET- A Review Paper on Insurance Telematics for Vehicle Insurance
IRJET Journal
 
Connecting Home/Building, Life and Car..The Importance of Insurance Risk Moni...
Connecting Home/Building, Life and Car..The Importance of Insurance Risk Moni...Connecting Home/Building, Life and Car..The Importance of Insurance Risk Moni...
Connecting Home/Building, Life and Car..The Importance of Insurance Risk Moni...
DataWorks Summit
 
Building the Next Generation IoT & Telematics Platform
Building the Next Generation IoT & Telematics PlatformBuilding the Next Generation IoT & Telematics Platform
Building the Next Generation IoT & Telematics Platform
Cloudera, Inc.
 
SAP Billing for Toll Collect
SAP Billing for Toll CollectSAP Billing for Toll Collect
SAP Billing for Toll Collect
Isabelle Roussin
 

Similar to A Demand Prediction Model and A Dynamic Pricing Model for Share Bike Business Utilizing Machine Learning (20)

Automated Ads - The Future is Now - Blake Burch
Automated Ads - The Future is Now - Blake BurchAutomated Ads - The Future is Now - Blake Burch
Automated Ads - The Future is Now - Blake Burch
 
Developing Comprehensive National Statistics
Developing Comprehensive National StatisticsDeveloping Comprehensive National Statistics
Developing Comprehensive National Statistics
 
Digital technology trends and their impact on ship emissions GST 2018 pr...
Digital technology trends and their impact on ship emissions GST 2018 pr...Digital technology trends and their impact on ship emissions GST 2018 pr...
Digital technology trends and their impact on ship emissions GST 2018 pr...
 
RAES-AAMGA-Mar14
RAES-AAMGA-Mar14RAES-AAMGA-Mar14
RAES-AAMGA-Mar14
 
Predictive Scaling for More Responsive Applications (API330) - AWS re:Invent ...
Predictive Scaling for More Responsive Applications (API330) - AWS re:Invent ...Predictive Scaling for More Responsive Applications (API330) - AWS re:Invent ...
Predictive Scaling for More Responsive Applications (API330) - AWS re:Invent ...
 
Prediction of Used Car Prices using Machine Learning Techniques
Prediction of Used Car Prices using Machine Learning TechniquesPrediction of Used Car Prices using Machine Learning Techniques
Prediction of Used Car Prices using Machine Learning Techniques
 
IRJET - App for Ride Sharing
IRJET - App for Ride SharingIRJET - App for Ride Sharing
IRJET - App for Ride Sharing
 
Dynamic Real time taxi ride-sharing android Application
Dynamic Real time taxi ride-sharing android Application  Dynamic Real time taxi ride-sharing android Application
Dynamic Real time taxi ride-sharing android Application
 
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
Shift Remote: AI: Smarter AI with analytical graph databases - Victor Lee (Ti...
 
HUGIreland_VincentDeStocklin_DataScienceWorkflows
HUGIreland_VincentDeStocklin_DataScienceWorkflowsHUGIreland_VincentDeStocklin_DataScienceWorkflows
HUGIreland_VincentDeStocklin_DataScienceWorkflows
 
SAP Leonardo Smart Mobility SEMICON
SAP Leonardo Smart Mobility SEMICONSAP Leonardo Smart Mobility SEMICON
SAP Leonardo Smart Mobility SEMICON
 
Driving the Data Pipelines for Connected Vehicles with Spring Cloud Data Flow
Driving the Data Pipelines for Connected Vehicles with Spring Cloud Data FlowDriving the Data Pipelines for Connected Vehicles with Spring Cloud Data Flow
Driving the Data Pipelines for Connected Vehicles with Spring Cloud Data Flow
 
Cape to Cape Challenge Reveals Potentials: Big Data Analytics for the Car of ...
Cape to Cape Challenge Reveals Potentials: Big Data Analytics for the Car of ...Cape to Cape Challenge Reveals Potentials: Big Data Analytics for the Car of ...
Cape to Cape Challenge Reveals Potentials: Big Data Analytics for the Car of ...
 
Big Data Analytics for the Car of the Future
Big Data Analytics for the Car of the FutureBig Data Analytics for the Car of the Future
Big Data Analytics for the Car of the Future
 
Digital Shift in Insurance: How is the Industry Responding with the Influx of...
Digital Shift in Insurance: How is the Industry Responding with the Influx of...Digital Shift in Insurance: How is the Industry Responding with the Influx of...
Digital Shift in Insurance: How is the Industry Responding with the Influx of...
 
IoT business models for Insurance
IoT business models for InsuranceIoT business models for Insurance
IoT business models for Insurance
 
IRJET- A Review Paper on Insurance Telematics for Vehicle Insurance
IRJET- A Review Paper on Insurance Telematics for Vehicle InsuranceIRJET- A Review Paper on Insurance Telematics for Vehicle Insurance
IRJET- A Review Paper on Insurance Telematics for Vehicle Insurance
 
Connecting Home/Building, Life and Car..The Importance of Insurance Risk Moni...
Connecting Home/Building, Life and Car..The Importance of Insurance Risk Moni...Connecting Home/Building, Life and Car..The Importance of Insurance Risk Moni...
Connecting Home/Building, Life and Car..The Importance of Insurance Risk Moni...
 
Building the Next Generation IoT & Telematics Platform
Building the Next Generation IoT & Telematics PlatformBuilding the Next Generation IoT & Telematics Platform
Building the Next Generation IoT & Telematics Platform
 
SAP Billing for Toll Collect
SAP Billing for Toll CollectSAP Billing for Toll Collect
SAP Billing for Toll Collect
 

Recently uploaded

Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
bhadouriyakaku
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
iemerc2024
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
obonagu
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 

Recently uploaded (20)

Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 

A Demand Prediction Model and A Dynamic Pricing Model for Share Bike Business Utilizing Machine Learning

  • 1. Copyright © 2018 weiwei1988 All Rights Reserved. Proposal for A Demand Prediction Model and A Dynamic Pricing Model for Share Bike Business Utilizing Machine Learning weiwei1988
  • 2. Copyright © 2018 weiwei1988 All Rights Reserved. 1. Basic Understandings for the Share Bike Business 2. Analysis on the Influence Factors on demands 3. The Demand Prediction Model Utilizing Machine Learning 4. The Dynamic Pricing Model Based on the Demand Prediction Model
  • 3. Copyright © 2018 weiwei1988 All Rights Reserved. 1. Basic Understandings for the Share Bike Business 2. Analysis on the Influence Factors on demands 3. The Demand Prediction Model Utilizing Machine Learning 4. The Dynamic Pricing Model Based on the Demand Prediction Model
  • 4. Copyright © 2018 weiwei1988 All Rights Reserved. The “Gobike” is a share bike business provided by Ford Motor in San Francisco bay area since 2013. City Stations Mountain View 7 Palo Alto 5 Redwood City 7 San Francisco 35 San Jose 16 No. of Stations before Aug. 2015 Source: https://www.fordgobike.com/
  • 5. Copyright © 2018 weiwei1988 All Rights Reserved. Issue for the share bike business: The growth of demand has stagnated since Oct. 2014. No. of Demands by Month [Trips]
  • 6. Copyright © 2018 weiwei1988 All Rights Reserved. The cause of growth stagnation: The No. of trips varies by the station in different cities. Period for analysis: Aug. 2013/8~Aug. 2015 For ex: Demands in downtown area like San Francisco has maximum No. of 50 thousand trips, Palo Alto, on the other hand, had only 2 thousands trips in total. Other factors such as Month, Date, Weather also influence the No. of demands
  • 7. Copyright © 2018 weiwei1988 All Rights Reserved. The cause of growth stagnation: However, No. of docks in each station did not match the diversified No. of trips in different stations. Period for analysis: Aug. 2013/8~Aug. 2015
  • 8. Copyright © 2018 weiwei1988 All Rights Reserved. The cause of growth stagnation: Inflexible price plan was another big problem. Current Price Plan: $3 / Trip (Up to 30min) $9.95 / Day (Up to 30min) $149/Year(up to 45min for subscribers) Source: https://www.fordgobike.com/
  • 9. Copyright © 2018 weiwei1988 All Rights Reserved. It is necessary to understand the precise demands of trips to avoid supply and demands un-matching situation. No. of demands varies by station, city, and some other factors. However, No. of docks and price plan are inflexible. Un-matching problems occurs between supply and demand, which lead to the stagnation of the business growth. It is necessary to understand the precise demand of trips to adjust the no. of docks and price plan. A Proposal for demand prediction utilizing the machine learning technique.
  • 10. Copyright © 2018 weiwei1988 All Rights Reserved. 1. Basic Understandings for the Share Bike Business 2. Analysis on the Influence Factors on demands 3. The Demand Prediction Model Utilizing Machine Learning 4. The Dynamic Pricing Model Based on the Demand Prediction Model
  • 11. Copyright © 2018 weiwei1988 All Rights Reserved. Influence Factors on demands: The No. of trips in weekday and weekend have substantial difference. Weekdays have 2-3 times larger trips. Weekday: Mon/Tue/Wen/Thu/Fri Weekend: Sat/SunNo. of trips by day Period for analysis: Aug. 2013/8~Aug. 2015
  • 12. Copyright © 2018 weiwei1988 All Rights Reserved. Influence Factors on demands: Influence of weekends also varies by cities: Weekend trips in downtown area drops substantially. Period for analysis: Aug. 2013/8~Aug. 2015
  • 13. Copyright © 2018 weiwei1988 All Rights Reserved. Influence Factors on demands: The No. of trips also depend on the time zone. Moring rush & evening rush indicate sharp increase on demand. 集計期間:2013/8~2015/8の3年間
  • 14. Copyright © 2018 weiwei1988 All Rights Reserved. Influence factors on demands: No. of trips tend to increase in summer, but tend to drop in winter. Period for analysis: Aug. 2013/8~Aug. 2015
  • 15. Copyright © 2018 weiwei1988 All Rights Reserved. Influence factors on demands: Most of trips concentrate on the days without weather events. (No_RainForg stands for the NaN of weather events) Period for analysis: Aug. 2013/8~Aug. 2015
  • 16. Copyright © 2018 weiwei1988 All Rights Reserved. Influence factors on demands: The mean temperature seems to have some influence on No. of trips: Higher temperature lead to more demand. WeekendWeekday Period for analysis: Aug. 2013/8~Aug. 2015
  • 17. Copyright © 2018 weiwei1988 All Rights Reserved. Influence factors on demands: Ref:On the other hand, wind speed seems have little correlation with the demand. WeekendWeekday Period for analysis: Aug. 2013/8~Aug. 2015
  • 18. Copyright © 2018 weiwei1988 All Rights Reserved. 1. Basic Understandings for the Share Bike Business 2. Analysis on the Influence Factors on demands 3. A Demand Prediction Model Utilizing Machine Learning 4. The Dynamic Pricing Model Based on the Demand Prediction Model
  • 19. Copyright © 2018 weiwei1988 All Rights Reserved. The Demand Prediction Model: A demand prediction model based on machine learning was proposed to forecast the No. of trips at defined station on defined date, time zone. Input Output Station Location (LAT, LONG) Datetime (Year/Month/Date) Weekday Flag (Weekday/Weekend) Time Zone (Moring Rush/Noon…) Weather indicators (Temperature, Pressure…) No. of trips at defined station in defined date, time zone. Set multiple variables such as station location, datetime, week flag, time zone and weather indicators as inputs of tanning data. Set No. of trips at defined station in defined datetime, time zone as output of the training data. Use training data to train the selected machine learning models, and select the model with highest precision. x1 x2 x3 xn xn-1 …. y Prediction Inputs Create a demand prediction model for the No. of trips. 1 2 3 4 Regression Rige Regression Lasso Regression Random Forest Decision Tree Gradient Boosting Ada Boosting Selected Machine Learning Models
  • 20. Copyright © 2018 weiwei1988 All Rights Reserved. Explanatory variables Factor/Unit Data Source Latitude of the Station (LAT) deg. station.csv Longitude of the Station (LONG) deg. station.csv Year 2013/2014/2015 trip.csv Month 1/2/3/4/5/6/7/8/9/10/11/12 trip.csv Day 1-31 trip.csv Weekflag Weekday(Mon/Tue/Wed/Thu/Fri) Weekend(Sat/Sun) Variable create using conduction branch from “Weekday” in trip.csv Timezone Moring Rush (6-10) Noon(11-15) Evening Rush(16-20) Night(21-5 on next day) Variable create using conduction branch from “Weekday” in trip.csv Weather Events No_RainFog(No events: NaN)/ Rain/Fog-Rain/Rain-Thunderstorm weather.csv* Mean temperature F weather.csv* Mean humidity % weather.csv* Mean wind speed mph weather.csv* Mean sea level pressure inches weather.csv* Cloud cover 0/1/2/3/4/5/6/7/8 weather.csv* Mean visibility miles weather.csv* Precipitation inches weather.csv* Preconditions of the tranining: Explanatory and explained variables Period for analysis:Aug. 2013/8~Aug. 2015 Explained Variable Factor/Unit Data Source No. of Trips times Grouped by explanatory variables from trips.csv *the NaN of weather.csv were filled with fillna(method = ‘pad’)
  • 21. Copyright © 2018 weiwei1988 All Rights Reserved. Preconditions of the trainning: Selected Models, Datasets for Tanning and Validation. • Selected Machine Learning Models • Regression • Rige Regression • Lasso Regression • Decision Tree • Datasets for Training • 80% of random samples from Aug. 2013 to Aug. 2015 • Datasets for Validation • 20% of random samples from Aug. 2013 to Aug. 2015 • Cross Validation • 5 times • Python library for Tanning • Scikit learn • Random Forest • Gradient Boosting • Ada Boosting
  • 22. Copyright © 2018 weiwei1988 All Rights Reserved. Model Validation: Radom Forest Regression was selected as prediction model because of the highest precision scores. Selected Models Mean R2 Negative Mean Squad Error Regression 0.24 -40.02 Rige Regression 0.24 -40.02 Lasso Regression 0.00 -52.65 Decision Tree 0.68 -16.68 Random Forest 0.85 -8.22 Gradient Boosting 0.60 -21.05 Ada Boosting 0.40 -31.53
  • 23. Copyright © 2018 weiwei1988 All Rights Reserved. Parameter Tuning: Random forest regressor was tuned with listed parameters using grid search. tuned_parameters_rdfr = { "max_depth": [2,3, None], "n_estimators":[100, 200, 300], "max_features": [1, 3, 5], "min_samples_split": [2, 3, 10], "min_samples_leaf": [1, 3, 10], "bootstrap": [True, False], } Regressor was tuned using GridSearchCV method (CV=5) max_depth=None, max_features=5, max_leaf_nodes=None, min_impurity_decrease=0.0, min_impurity_split=None, min_samples_leaf=1, min_samples_split=10, min_weight_fraction_leaf=0.0, n_estimators=300
  • 24. Copyright © 2018 weiwei1988 All Rights Reserved. Prediction results: The No. of trips by each day were relatively well predicated by the machine learning model for practical usage. Actual and predicted No. of trips by day (cumulative sum for all stations)
  • 25. Copyright © 2018 weiwei1988 All Rights Reserved. Prediction results: Ref: Results for head 100 datasets. Actual and predicted No. of trips by day (cumulative sum for all stations)
  • 26. Copyright © 2018 weiwei1988 All Rights Reserved. Prediction results: The No. of trips by each time zone were relatively well predicated by the machine learning model for practical usage. Actual and predicted No. of trips by time zone (San Francisco, Weekday)
  • 27. Copyright © 2018 weiwei1988 All Rights Reserved. Prediction results: Ref: Results for head 100 datasets. Actual and predicted No. of trips by time zone (San Francisco, Weekday)
  • 28. Copyright © 2018 weiwei1988 All Rights Reserved. Importance score: Variables with relatively high importance score are: Location(Long&Lat), Timezone, Weekflag, Year and Temperature Importance score of each explanatory variables
  • 29. Copyright © 2018 weiwei1988 All Rights Reserved. 1. Basic Understandings for the Share Bike Business 2. Analysis on the Influence Factors on demands 3. A Demand Prediction Model Utilizing Machine Learning 4. A Dynamic Pricing Model Based on the Demand Prediction Model
  • 30. Copyright © 2018 weiwei1988 All Rights Reserved. Dynamic Pricing Model: A Dynamic pricing model based on the demand prediction model instead of current inflexible pricing plan was proposed to solve the demand supply un-matching problem. Demands Price Price Demands Price was constant in spite of fluctuate demand, which lead to demand supply gap. Current Pricing Plan Proposed Pricing Model Price will be set based on the demand prediction results by machine learning, which could balance the demand and supply. Price Fluctuation Rate%(t) = (1/P.E.)×Demand Fluctuation Rate%(t) Model Example: Price Fluctuation Rate = Set Price / Current Constant Price Demand Fluctuation Rate = Predicted Demand / Average Demands P.E. : Price Elasticity
  • 31. Copyright © 2018 weiwei1988 All Rights Reserved. How to benefit customers? Integrate the dynamic pricing model to the APP, Provide customers with real-time optimized price. Price Fluctuation Rate InputStation Location/ Date/Weather… 1 Get the necessary data from user app. 2 Predict the demand at the defined condition 3 Use the dynamic pricing model to calculate the optimized price at this point. 4 Offer the price on the app, allow customers to make payments at real time. Current Price to offer
  • 32. Copyright © 2018 weiwei1988 All Rights Reserved. Ex: Price fluctuation rate to offer. Price Fluctuation Rate (San Francisco, Weekday) Price Elasticity = 10