Hospital readmission is a substantial burden on healthcare systems, increasing both costs and patient strain. Current traditional methods for identifying patients at high risk for readmission are often based on clinicians' judgment. This issue is especially concerning for patients with chronic conditions like diabetes, where the pressure to reduce readmissions may lead to worse outcomes. Unlike traditional methods, machine learning algorithms can analyze complex datasets to identify patterns and risk factors, resulting in more precise predictions of readmission risk. They can also facilitate better resource allocation and personalized patient care. Previous studies have applied various algorithms to predict readmissions in healthcare institutions. In this study, we apply and compare the optimized versions of different machine learning (ML) models to predict 30-day readmissions and identify important predictors driving these outcomes. Based on the predefined metrics, the analyses identify the Stochastic Gradient Descent Classifier (SGDC) as the best-performing model for the available dataset and the applied ML parameter optimization. Although ML models demonstrate potential for predicting readmissions, they are not yet fully reliable.