We conducted a study utilizing a dataset specifically designed to investigate three critical factors impacting an individual’s overall health: obesity, physical inactivity, and diabetes. Our analysis involved gathering extensive data from 354 dataset points, encompassing detailed measurements for each of these variables.
To assess our data, we divided the 354 datasets into five equal portions, although the choice of five is not fixed and can be adjusted as needed. Each of these portions consisted of 71 data points, except for one with 70 data points. Four of these segments were utilized for training our model, while the remaining part was reserved for testing its performance. We repeated this process five times, each time employing a different section for testing.
Furthermore, we evaluated how effectively our model aligned with the entire dataset. To accomplish this, we trained the model on the entire dataset and assessed its performance based on its ability to predict actual results.