Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network