Data-driven design of a derailment detection system for freight wagons | Synapse