This research presents our application of artificial intelligence (AI) in predicting urolithiasis risk. Previous applications, including AI for stone disease, have focused on stone composition and aiding diagnostic imaging. AI applications centered around patient-specific characteristics, lifestyle considerations, and diet have been limited. Our study comprised a robust sample size of 976 Chilean participants, with meticulously analyzed demographic, lifestyle, and health data through a comprehensive questionnaire. We developed a predictive model using various classifiers, including logistic regression, decision trees, random forests, and extra trees, reaching high accuracy (88%) in identifying individuals at risk of kidney stone formation. Key protective factors highlighted by the algorithm include the pivotal role of hydration, physical activity, and dietary patterns that played a crucial role, emphasizing the protective nature of higher fruit and vegetable intake, balanced dairy consumption, and the nuanced impact of specific protein sources on kidney stone risk. In contrast, identified risk factors encompassed gender disparities with males found to be 2.31 times more likely to develop kidney stones than females. Thirst and self-perceived dark urine color emerged as strong predictors, with a significant increase in the likelihood of stone formation. The development of predictive tools with AI, in urolithiasis management signifies a paradigm shift toward more precise and personalized health care. The algorithm's ability to process extensive datasets, including dietary habits, heralds a new era of data-driven medical practice. This research underscores the transformative impact of AI in medical diagnostics and prevention, paving the way for a future where health care interventions are not only more effective but also tailored to individual patient needs. In this case, AI is an important tool that can help patients stay healthy, prevent diseases, and make informed decisions about their overall well-being.
Keywords: artificial intelligence; diet; kidney calculi; risk factors; urolithiasis.