System and method for providing patient-specific models to distinguish between epochs of electrocardiograms (ECGs) located far away from atrial fibrillation rhythms and those located just prior to the onset of those episodes, to provide for the prediction of the onset of an occurrence of atrial fibrillation (AF) in the patient.Medical