Diabetes, which is classified as one of the leading causes of mortality, is a chronic and intricate metabolic disorder defined by disruptions in the metabolism of carbohydrates, fats, and proteins. Type 1 diabetes is categorized alongside Type 2 diabetes, as well as other distinct kinds of diabetes, including gestational diabetes. Complications, both acute and chronic, manifest in individuals with diabetes due to diminished insulin secretion and disruptions in the metabolism of carbohydrates, fats, and proteins. Following the completion of the data preparation step, the diabetes dataset that was collected from Kaggle is then sent to the feature extraction module for analysis. After the optimization process has been completed, the feature selection block will determine which characteristics stand out the most. The selected traits discussed before are sorted into several categories using the categorization module. The findings are compared to those that would have been obtained if the marine predator optimization algorithm (MPOA) technique had not been carried out, specifically regarding metrics like the F1 score, Recall, Accuracy, and Precision. The findings indicate that the LR classification approach achieves an accuracy rate of 77.63% without property selection. However, when the characteristics are selected using the MPOA, the accuracy rate increases to 79.39%.