Artificial neural network for atrial fibrillation identification in portable devices