Maximizing Model Accuracy: The Importance of Dataset Splitting and Cross-Validation in Machine Learning