In this study, we compare the performance of the XGBoost model with a Support Vector Machine (SVM) model from the literature in predicting a given task. Performance metrics such as the coefficient of determination (R2), root mean squared error (RMSE), and mean absolute error (MAE) were utilized to evaluate and compare the models. The XGBoost model achieved an R² of 0.99, an RMSE of 2.54, and an MAE of 1.96, significantly outperforming the SVM model, which recorded an R² of 0.96 and an RMSE of 6.79. The scatter plot for the XGBoost model further illustrated its superior performance, showing a tight clustering of points around the ideal line (y = x), indicating high accuracy and low prediction errors. These findings suggest that the XGBoost model is highly effective for the given prediction task, likely due to its ability to capture complex patterns and interactions within the data.