<b>Background: </b>Cardiovascular health and preventative strategies are influenced by the sex of the individuals. To forecast cardiac events or detect ischemic heart disease (IHD) early, machine-learning algorithms can analyze complex patient data patterns. Early detection allows for lifestyle changes, medication management, or invasive treatments to slow disease progression and improve outcomes.<br />
<b>Aim</b>: To compare and predict the differences in the primary sources of IHD burden between males and females in various age groups, geographical regions, death versus alive, and comorbidity levels.<br />
<b>Methods: </b>A predictive and retrospective design was implemented in this study. Electronic health records were extracted, which were equally distributed among males and females with IHD. The dataset consisted of patients who were admitted between 2015 and 2022. Two of the eight models generated by Modeler software were implemented in this study: the Bayesian network model, which achieved the highest area under curve score (0.600), and the Chi-squared automatic interaction detection (CHAID) model, which achieved the highest overall accuracy score (57.199%).<br />
<b>Results: </b>The study sample included 17,878 men and women, 58% of whom had no comorbidities and 1.7% who died. Age, the Charlson comorbidity index score, and geographical location all predicted IHD, but age was more influential. Bayesian network analysis showed that IHD odds were highest in males 40-59 and females 60-79, with the highest mortality risk in females 80-100. North and south Jordan had higher IHD rates and middle-aged males from north and middle governorates had higher IHD rates according to CHAID.<br />
<b>Conclusion: </b>By using artificial intelligence, clinicians can improve patient outcomes, treatment quality, and save lives in the fight against cardiovascular illnesses. To predict IHD early, machine-learning algorithms can analyze complex patient data patterns to improve outcomes.