Machine learning for ultrasound brain imaging