Neural networks for event detection: an interplanetary cubesat asteroid mission case study