Background: As one of the leading causes of morbidity and mortality worldwide, the diagnosis of acute cardiovascular disease (acute CVD) in emergency settings remains a significant challenge. Machine learning (ML) is artificial intelligence that allows computer programs to learn from and analyze large data sets without human intervention. As a diagnostic tool, ML presents numerous advantages, such as convenience, speed, and affordability. Methods: This research utilized a new model for predicting heart disease for feature selection(Wild Horse Optimizer, WHO) and another classification model (Support Vector Machine, SVM). In the WHO algorithm, like envisioning social behaviors of wild horses, we observe that wild horses display diverse behaviors like leading, grazing, moving, mating and chase. One odd behavior about wild horses is that young foals will break away from the herd to avoid the breed in its related herd before reaching maturity. It defines the decencies of the horses. Discussion: Multiple ML techniques were employed to train classifiers using the Cleveland heart disease dataset after conducting feature selection using WHO algorithm. The performance of these models was evaluated based on different parameters like Sensitivity, Accuracy, Specificity, and AUC. The SVM classifier model trained using the WHO approach proved better than the existing methods. In the research, we proposed a Wild Horse Optimization algorithm to optimize the features for Heart Disease prediction. After feature optimization, the optimized dataset is then given to Support Vector machine classification, which performs the classification of heart disease. After evaluating different experimental results, authors conclude that combining this feature selection algorithm and SVM as a classifier for forecasting heart disease is very effective. With the help of this approach, we can improve the early detection of heart disease and effectively manage severe heart disease. The experimental result graph shows an increased accuracy rate of the spectra feature subject.