A non-transitory computer readable medium having instructions thereon, the instructions configured to cause a computer to execute a multi-stage electronic model for predicting physical hazards at a location, the physical hazards changing over time and from location to location, each stage of the multi-stage electronic model being optimized based on a required computing capability and a maximum allowable processing time for a given stage to minimize overall computing resources and processing time for the multi-stage electronic model, the instructions causing operations comprising:
- receiving description data of the location, the description data generated via at least one of a camera, a user interface, an environment sensor, and an external location information database;
- predicting, with a first stage of the multi-stage electronic model, a potential hazard type based on the received description data, the potential hazard type comprising one potential hazard type of a set of predetermined potential hazard types, the first stage having a first configuration optimized for potential hazard type predictions based on the received description data;
- and
- predicting, with a second stage of the multi-stage electronic model, based on the predicted potential hazard type and the received description data, a physical hazard at the location, the second stage having a second configuration that is different from the first configuration, the second configuration associated with the predicted hazard type without regard for other potential hazard types, the second configuration optimized for predicting the physical hazard at the location once the hazard type is predicted by the first stage.