Discovering a real-world model of rogue waves with machine learning