BART Station Predictions Based Upon Current Weather

For a full description of how this system works, check out my github.

Below is a daily live prediction of the number of people that will exit a given bart station. This data utilizes one year of hourly exits per station access at BART data. Alongside these ridership numbers, one year of historical weather for San Francisco was used accessed at weather data.

This historic data was fed into a MLlib gradient boosted tree model (300 trees) to predict ridership per station.

This model is updated daily. The total capacity is taken from the total number of trains that arrived at each station times 150 people per train. Alongside this, the weather pulled from midnight is used as the weather prediction.

Today, it is predicted that 271,416.421417 people will ride BART. In addition, today BART has capacity for 3,480,900 people.

Below the predictions, you can see an architecture of the system.

station daily_capacity total-predicted-exits percent_capacity
17 Embarcadero 81000 38077.469292 47.009221
26 Montgomery St. 83325 33850.822750 40.625050
32 Powell St. 95400 23660.494333 24.801357
8 Civic Center/UN Plaza 86250 16880.363458 19.571436
0 12th St. Oakland City Center 56925 8948.819458 15.720368
1 16th St. Mission 70125 10650.092708 15.187298
2 19th St. Oakland 51000 7387.391542 14.485081
3 24th St. Mission 87075 8807.931250 10.115339
13 Downtown Berkeley 89025 8801.405667 9.886443
24 MacArthur 58350 5220.742125 8.947287
41 Walnut Creek 62775 4863.069833 7.746826
12 Daly City 64875 5004.454000 7.713995
5 Balboa Park 101250 7721.147917 7.625825
16 El Cerrito del Norte 66225 4732.907583 7.146708
36 San Francisco Int'l Airport 55875 3570.206625 6.389632
34 Rockridge 57300 3471.570917 6.058588
30 Pittsburg/Bay Point 66150 3570.206625 5.397138
23 Lake Merritt 94200 4945.003167 5.249473
9 Coliseum 74700 3893.235917 5.211829
18 Fremont 93975 4863.069833 5.174855
14 Dublin/Pleasanton 79200 3983.172292 5.029258
19 Fruitvale 100200 4945.003167 4.935133
43 West Oakland 87900 3888.522292 4.423802
37 San Leandro 85500 3471.570917 4.060317
10 Colma 68625 2643.336125 3.851856
22 Lafayette 63300 2403.000042 3.796209
42 West Dublin/Pleasanton 58800 2227.881583 3.788914
11 Concord 82800 3114.581750 3.761572
6 Bay Fair 87150 3040.614125 3.488943
31 Pleasant Hill/Contra Costa Centre 78150 2602.309542 3.329891
27 North Berkeley 71025 2266.681625 3.191386
29 Orinda 55350 1763.131292 3.185422
4 Ashby 97725 3043.909417 3.114770
15 El Cerrito Plaza 82875 2578.928500 3.111829
25 Millbrae 122850 3737.696917 3.042488
39 South San Francisco 66825 1865.450583 2.791546
21 Hayward 90225 2403.000042 2.663342
35 San Bruno 70650 1865.450583 2.640411
33 Richmond 95700 2395.351500 2.502980
7 Castro Valley 70725 1730.353833 2.446594
28 North Concord/Martinez 68175 1347.839208 1.977029
40 Union City 104250 1952.049792 1.872470
38 South Hayward 100800 1878.342083 1.863435
20 Glen Park 96300 1347.839208 1.399625