Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Predictions poc jitter #801

Merged
merged 10 commits into from
Jul 11, 2023
Merged

Predictions poc jitter #801

merged 10 commits into from
Jul 11, 2023

Conversation

tiffanychu90
Copy link
Member

@tiffanychu90 tiffanychu90 commented Jul 6, 2023

  • For metric 3, prediction inconsistency, let's just measure how inconsistent the prediction is. Take away any reference to actual_stop_arrival, except where it's used to set the 30 minute prediction window
    • For every minute, find the min / max of predictions. Prediction change = absolute value of max(prediction_pacific)-min(prediction_pacific)
    • For a rolling 2 min period, find the min / max of predictions again, and in that period, calculate the prediction_spread = max - min
    • For a given stop, prediction_inconsistency = mean(prediction_spread) across all the rolling windows
  • Expand metric 1, update completeness, and do a version that's using vehicle positions
    • use actual_stop_arrivals for the window between the first stop's arrival and last stop's arrival
    • for every minute between that, count the number of vehicle position location_timestamp, and if it's more than 2, it's passes.
    • for prediction duration window, calculate the number of minutes with complete info (at least 2 updates)
    • this is calculated at trip-level, not stop-level
  • Slack thread
  • Research Request - RT Predictions / Real-Time Information POC metrics #709

@github-actions
Copy link

github-actions bot commented Jul 6, 2023

nbviewer URLs for impacted notebooks:

@github-actions
Copy link

2 similar comments
@github-actions
Copy link

@github-actions
Copy link

@tiffanychu90 tiffanychu90 merged commit c07c730 into main Jul 11, 2023
2 checks passed
@tiffanychu90 tiffanychu90 deleted the predictions-poc-jitter branch July 11, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant