kuanb / peartree

peartree: A library for converting transit data into a directed graph for sketch network analysis.
MIT License
201 stars 23 forks source link

Drop zeroes during wait time estimation #133

Closed kuanb closed 5 years ago

kuanb commented 5 years ago

0 values are included in default wait time estimate. They should be pruned to not overly underestimate wait times (0 values during mean estimate weight towards lower wait times which is overly optimistic).

Example:

Wait time should be 10 minutes but is being estimated at half that in current logic

image