This study aims to analyze electrocardiogram (ECG) data for the classification of five cardiac rhythms: sinus bradycardia (SB), sinus rhythm (SR), atrial fibrillation (AFIB), supraventricular tachycardia (SVT), and sinus tachycardia (ST). While SR is considered normal, the other four represent types of cardiac arrhythmias. A range of methods is utilized, including the supervised learning technique K-Nearest Neighbors (KNNs), combined with dimensionality reduction approaches such as Principal Component Analysis (PCA) and Uniform Manifold Approximation and Projection (UMAP), a modern method based in Riemannian topology. Additionally, logistic regression was applied using both maximum likelihood and Bayesian methods, with two distinct prior distributions: an informative normal prior and a non-informative Jeffreys prior. Performance was assessed using evaluation metrics such as positive predictive value (PPV), negative predictive value (NPV), specificity, sensitivity, accuracy, and F1-score. Ultimately, the UMAP-KNN method demonstrated the best overall performance.