**6. Conclusions**

To achieve steady-state fasting levels for many metabolic substrates which are found in blood draws taken from patients, the patients are required to fast 8–12 hours. This evidence can show us that even a single fasting interval in humans (e.g., overnight) can reduce basal concentrations of metabolic biomarkers related with T2D, such as insulin and glucose. Intermittent fasting regimens may be a promising approach to losing weight and improving metabolic health. Moreover, these eating regimens may offer promising nonpharmacological approaches to improving health in general and specifically improve T2D condition.

The question in this study is not how to lose weight but to answer the question of which of the people suffering from T2D can benefit through an intermittent fasting approach and what is the best type of intermittent fasting for a particular person. This it offers a recommendation system based on data from several clinical trials for answering those questions. The recommendation system selects the optimal intervention to improve the health of prediabetes individuals or people with T2D. The improvement in health reflected in reducing their glucose and insulin levels which are considered T2D risk parameters and composed the HOMA-IR equation. The procedure in this study is built using a machine learning approach and is the results are presented by a decision tree. The conclusions from the decision rules derived from the tree are that males and females have a different set of rules because the node gender comes first in the tree. The success of intervention in males depends on the duration of the IF. Therefore, males are indifferent to the type of intervention. Moreover, males with a smaller BMI will be more likely to have a successful intervention in case the duration of intervention is equal or less than 2.5 weeks. On the other hand, if the duration of the intervention is more than 2.5 weeks for males than age will be important to its success. Reasonably, younger age will serve as a benefit. The level of basal fasting insulin is the most important attribute for a successful intervention in female. There are some cases where no intervention within the dataset of this study can assist in improving HOMA-IR for example if a female with a basal fasting insulin equal or less than 37.1 pmol/L (for moderate insulin resistance the fasting insulin should be in the range of 18–48 pmol/L) and age exceeding 52.

To apply for a wider population additional clinical trail's data should be used. Moreover, a larger dataset will make it possible, to build a software which would assist physicians in advising an optimal intervention to their patients and by that providing a better personalized medical service to their patients.
