Method and Application for Early Diagnostic and Prediction Based on Heart Rate Estimation Using Probability
Long-term Holter analysis requires software tools capable of automating signal preprocessing, temporal segmentation, probabilistic computation, and result visualization in a reproducible and interpretable manner. In this research, a modular software system for automated analysis of cardiac dynamics was developed following a software engineering perspective and an iterative lifecycle based on Scrum, including requirements definition, sprint planning, development, integration, testing, review with a medical specialist, and refinement. The platform was designed to analyze standardized temporal windows of 12, 14, and 18 h extracted from original 24 h Holter-ECG recordings and integrates a frontend, a backend, and a Python® analytical engine within a unified client–server framework. It processes Excel or CSV files containing hourly average heart-rate values, performs structural validation, discretizes the data into 10 beats-per-minute intervals, constructs empirical probability distributions, identifies recurrent dynamic patterns, and generates structured JSON outputs for web-based visualization. A complementary preprocessing module was also implemented for raw PhysioNet ECG signal records, enabling the loading of .hea and .dat files, automated R-peak detection, and extraction of hourly average heart-rate values. The system was evaluated on 113 Holter records from three open-access databases: 85 from SHDB-AF, 19 from the Long-Term ST Database, and 9 from the MIT-BIH Normal Sinus Rhythm Database. Overall structural agreement at the record level was 58.4% (66/113). To conclude, this system provides a reproducible web application pipeline for Holter signal data processing and probabilistic cardiac dynamics analysis, integrating software development, preprocessing, classification, and interpretable visualization within a modular framework.