One solution is to remove all stationary data.
Realistically, a route planner does not plan for stationary points.
A decerning way of eliminating stationary data from training must be considered; It must not eliminate traffic light stops since a rider can encounter the same stop in a future trip. But stoppagaes for delivery to the door for example must be eliminated since that is an abnormally.
A elapsed time threshold can be considered; Any stop beyond 90 seconds( max time for traffic light to turn) can be eliminated.
Alternatively, adding the speed as a feature eliminates this problem.
One solution is to remove all stationary data.
Realistically, a route planner does not plan for stationary points.
A decerning way of eliminating stationary data from training must be considered; It must not eliminate traffic light stops since a rider can encounter the same stop in a future trip. But stoppagaes for delivery to the door for example must be eliminated since that is an abnormally.
A elapsed time threshold can be considered; Any stop beyond 90 seconds( max time for traffic light to turn) can be eliminated.
Alternatively, adding the speed as a feature eliminates this problem.