Patent attributes
Techniques for predicting safety metrics associated with near-miss conditions for a vehicle, such as an autonomous vehicle, are discussed herein. For instance, a training system identifies an object in an environment and determines a trajectory for the object. The training system may receive a trajectory for a vehicle and associate the trajectory for the object and the trajectory for the vehicle with an event involving the object and the vehicle. In examples, the training system determines a parameter associated with motion of the vehicle as indicated by the trajectory of the vehicle relative to the trajectory of the object, and the event. Then, the training system may determine a safety metric associated with the event that indicates whether the vehicle came within a threshold of a collision with the object during a time period associated with the event.