Abstract:
An approach is provided for a localized link-centric metric for directional traffic propagation. The approach, for instance, involves designating a base link of the road network. The approach also involves determining a plurality of vehicle trajectories that pass through the base link. The plurality of vehicle trajectories is based on probe data collected from one or more sensors of a plurality of vehicles travelling in the road network. The approach further involves determining a frequency at which the plurality of vehicle trajectories passes through the base link to each of one or more other links in the plurality of vehicle trajectories within a proximity threshold. The approach further involves computing a link-centric metric for said each of the one or more other links relative to the base link based on the determined frequency.
Abstract:
An approach is provided for next token prediction based on previously observed tokens. The approach involves receiving an observed time series of tokens, wherein each of the tokens represents an observed data pattern. The approach also involves adding a most recent token from the observed time series of tokens into a variable token set. The approach further involves processing a historical token set to determine a historical token sequence comprising the variable token set followed by a next token. The approach further involves recursively adding a next most recent token from the observed time series of tokens into the variable token set for processing until the next token following the variable token set in the determined historical token sequence is unique or meets a target number of possible predictions. The approach further involves presenting the next token as a predicted next token of the observed time series of tokens.
Abstract:
An approach is provided for classifying a traffic jam from probe data. The approach involves receiving the probe data that is map-matched to a roadway on which the traffic jam is detected. The probe data is collected from one or more vehicles traveling the roadway. The approach also involves determining a jam area of the roadway based on the probe data. The jam area corresponds to one or more segments of the roadway affected by the traffic jam. The approach further involves determining a set of features indicated by the probe data from a portion of the probe data collected from the jam area. The approach further involves classifying, using a machine learning classifier, the traffic jam as either a recurring traffic jam or a non-recurring traffic jam based on the set of features.
Abstract:
An approach is provided for semantic-free traffic prediction. The approach involves dividing a travel-speed data stream into a plurality of travel-speed patterns. The travel-speed data stream represents vehicle travel speeds occurring in a road network. The approach also involves representing each of the plurality of travel-speed patterns by a respective token. The respective token is selected from a dictionary of tokens representing a plurality of travel-speed templates determined from historical travel-speed data. The approach further involves matching a sequence of the respective tokens corresponding to said each of the plurality of travel-speed patterns to a best-fit sequence of tokens determined from the historical travel-speed data. The approach further involves determining a predicted sequence of tokens based on the best-fit sequence of tokens, and generating a traffic prediction for the road network based on the predicted sequence of tokens.
Abstract:
A method comprising receiving probe data indicative of a set of navigational signal measurements that is matched to a link segment, determining a set of measurement errors such that each measurement error of the set of measurement errors is a difference between a location indicated by the link segment and a location indicated by a navigational signal measurement of the set of navigational signal measurements, determining at least one statistical attribute of the set of measurement errors, and storing an indication of the statistical attribute in map information associated with the link segment is disclosed.