Event classification of ultrasound data using machine learning