Road crash prediction has proven to be an effective means of improving highway safety. In recent years, machine learning (ML) models have been embraced as efficient for the prediction of road accident frequency. This study applied two machine learning models for the prediction of road accident occurrence on selected South-West highway in Nigeria. Accident data were obtained for the period of 10 years from 2013 to 2022 from the Federal Road Safety Commission (FRSC) of Nigeria on the road under study and the traffic operations were determined on site using manual counting and stopwatch approach. Machine Learning (ML) models including Support Vector Machine (SVM) and Extreme Gradient Boosting (XGBoost) were also used as the statistical model for safety prediction of the highway with consideration to identified contributing factors. The performance of the models was compared for both training and testing dataset using coefficient of determination (R2), Mean Absolute Error (MAE) and Root Mean Square Error (RMSE). The study showed consistency and effective performance in both ML models with R2 of 0.99 in SVM, 0.97 and XGBoost for training data, also 0.93 in SVM and 0.76 in XGBoost testing data. ML models are also easy and fast to implement. The result of this study supports the use of ML as a predictive tool for road safety evaluation. The knowledge attained from this study will benefit transportation planners, engineers, and policymakers to implement effective measures aimed at reducing the crash occurrence, thereby enhancing overall transportation safety and efficiency.