polito.it
Politecnico di Torino (logo)

Development and Implementation of a Hybrid Rule Engine for Nutritional and Lifestyle Recommendations

Angelo Bisignano

Development and Implementation of a Hybrid Rule Engine for Nutritional and Lifestyle Recommendations.

Rel. Maurizio Morisio. Politecnico di Torino, Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering), 2025

[img]
Preview
PDF (Tesi_di_laurea) - Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives.

Download (1MB) | Preview
Abstract:

Increased awareness of health and longevity, coupled with the rapid growth of digital health information, has created a demand for intelligent tools that are capable of taking raw data and turning it into individual, actionable recommendations. This thesis outlines the design and construction of a rule-based nutrition and lifestyle consultancy recommendation system. The architecture is decoupled, separating domain knowledge captured in logical form in JSON from the Python-written analytical center. This offers flexibility, transparency, and maintainability, enabling health professionals to vary recommendations without modifying the source code of the system. The backend, developed with FastAPI, talks to Firebase, the central repository for user details and authentication, in real time. The recommendation process is an organized, three-phase pipeline involving data collection and preprocessing, dynamic rule-based analysis and personalized message generation. A specially developed graphical user interface allows experts to manage the knowledge base in a secure way through syntax checking and version control. Then, the system was enhanced with sleep recommendations, demonstrating the modularity of the design and the capability to integrate additional sides of life, such as physical activity. The final API service facilitates secure, real-time communication with the accompanying mobile application, enabling the engine to serve as a scalable, explainable backend component for personal well-being.

Relatori: Maurizio Morisio
Anno accademico: 2025/26
Tipo di pubblicazione: Elettronica
Numero di pagine: 86
Soggetti:
Corso di laurea: Corso di laurea magistrale in Ingegneria Informatica (Computer Engineering)
Classe di laurea: Nuovo ordinamento > Laurea magistrale > LM-32 - INGEGNERIA INFORMATICA
Aziende collaboratrici: NON SPECIFICATO
URI: http://webthesis.biblio.polito.it/id/eprint/38609
Modifica (riservato agli operatori) Modifica (riservato agli operatori)