find my ride
TRANSCRIPT
FIND MY RIDEIMPROVING YOUR BIKE SHARE EXPERIENCE
Diane Ivy
FIND MY RIDE
▸ Bike shares are awesome
▸ Flexible and convenient
▸ But only if a bike is available when you need it
FIND MY RIDE
▸ Bike shares are awesome
▸ Flexible and convenient
▸ But only if a bike is available when you need it
FIND MY RIDE
▸ Can get current status from Hubway website or 3rd party apps.
▸ Often bikes will be gone by the time you get to the station.
▸ Can we help people find a bike when they need it?
FIND MY RIDE
12am 8am 5pm0
10
Num
ber o
f Bik
es
WeekdayWeekend
Residential Station
12am 8am 5pm0
10
Num
ber o
f Bik
es
WeekdayWeekend
Business Station
Bike Data - 96 bike share stations - 2 years of station data - number of bikes available every minute
at each station
Weather Data - hourly historical weather data from
NOAA
FIND MY RIDE
INPUT start location
and time
Googlemaps api - calculate walk time to nearby station
Forecastio - get weather forecast
MODEL use trained
model at each station to
predict # bikes
FEATURES month
day of week time of day
(minute) precipitation temperature
holidays
OUTPUT 0, 1-2, 2+ bike
availability
FIND MY RIDE
▸ Randomly selected whole days to train, test, and validate on
▸ Trained model on 60% of the data
▸ Chose hyper parameters testing on 20% of data
▸ Scored model on last 20% of the data on recall score of 0 bikes
0 Bikes 1-2 Bikes 2+ BikesActual
0 Bikes
1-2 Bikes
2+ Bikes
Pred
icte
d0.83 0.05 0.12
0.11 0.30 0.59
0.05 0.11 0.84
0.0
0.5
1.0