Algorithm can predict gestational diabetes using nutritional and lifestyle changes