Produção Científica e Didática

Produção científica recente

Changes in Diet Quality and Mediterranean Diet Adherence After a School-Based Program Among Youth: The Delicious Project

Artículos y libros

Background: Enhancing diet quality and encouraging adherence to the Mediterranean diet in children and adolescents represents a major public health objective. School-based programs that integrate multiple components may be an effective approach to fostering healthier dietary behaviors, although their effectiveness across different settings and populations is still not fully established. Objectives: This study aimed to assess changes in diet quality and Mediterranean diet adherence following the implementation of a multicomponent school-based initiative within the EU-funded DELICIOUS project. Methods: An uncontrolled one-group pre–post quasi-experimental evaluation was conducted involving 667 children and adolescents from Italy, Spain, Portugal and Egypt. Diet quality was measured using the Youth Healthy Eating Index (Y-HEI), while adherence to the Mediterranean diet was assessed using the KIDMED score. Consumption of major food groups was collected through structured questionnaires. Changes in dietary indicators were analyzed before and after the program. The relationship between dietary scores and compliance with national dietary recommendations was also examined. Results: Following program implementation, the KIDMED, but not the Y-HEI, scores showed a significant improvement. Participants reported higher intake of fruits, vegetables, legumes, fish, nuts, and dairy products, along with reduced meat consumption. At the same time, pasta intake increased, whole-grain consumption decreased, and sweets’ intake also rose. Overall, adherence to national dietary recommendations improved, although the results varied in the different school settings. Higher KIDMED and Y-HEI scores were, to different degrees, associated with a greater likelihood of meeting dietary guidelines. Conclusions: This multicomponent initiative was associated with a significant improvement in Mediterranean diet adherence among schoolchildren and adolescents, although no statistically significant overall improvement in diet quality was observed and dietary changes were mixed. Increased consumption of fruit, vegetables, legumes, fish, and nuts, together with reduced meat consumption, was accompanied by increased consumption of sweets and decreased consumption of whole grains. These findings suggest that such approaches may be associated with healthier eating patterns while also highlighting the importance of addressing specific components to achieve more balanced nutritional outcomes.

Leer más

Quantum vs. Classical Machine Learning for Diabetes Prediction: A Leakage-Controlled Benchmarking Study with Repeated Evaluation

Artículos y libros

This study re-evaluates classical and simulated quantum machine-learning approaches for diabetes prediction under a leakage-controlled and reproducible protocol. The original experimental code was audited in response to peer review, revealing that several preprocessing operations had previously been fitted before the train/test split and that some reported metrics were not computed consistently across models. The revised protocol therefore performs stratified splitting before preprocessing; fits outlier handling, scaling, and PCA only on the training partition; applies SMOTE only to training data; evaluates five independent random seeds; and reports positive-class precision, recall, F1, balanced accuracy, ROC-AUC, PR-AUC, MCC, and 95% confidence intervals. Tuned classical baselines (Logistic Regression, SVC, KNN, Random Forest, and Gradient Boosting) were compared with 8-qubit fidelity-kernel QSVC and QKNN models on a common 2000-record BRFSS subset, while PIMA was evaluated as a second benchmark. Under training-only SMOTE on BRFSS, Logistic Regression achieved mean ROC-AUC 0.811 and positive-class recall 0.748, compared with 0.737 and 0.326 for QSVC; on PIMA, SVC achieved ROC-AUC 0.836 and recall 0.741, compared with 0.761 and 0.607 for QSVC. Thus, the corrected experiments do not support a general quantum predictive advantage. The principal value of the quantum experiments is instead the controlled assessment of representation behavior and computational cost. Measured classical scalability experiments from 10,000 to 55,000 records further show stable ROC-AUC but a strong trade-off between raw accuracy and minority-class sensitivity, whereas exact kernel-memory analysis shows that a dense float64 QSVC kernel would require approximately 23.04 GB at 60,000 records. PCA is therefore interpreted strictly as an unsupervised variance representation, while supervised permutation importance is used separately for predictive attribution. These results provide a more cautious and reproducible assessment of when simulated quantum kernels are competitive and where their current computational limitations remain substantial.

Leer más

Does Bigger Mean Better? A Domain-Aware Comparison of Lexicon-Based, TF-IDF, and Transformer Models for Sentiment Analysis

Artículos y libros

Sentiment analysis systems range from training-free lexicons to compact supervised models and fine-tuned transformer encoders, but fair comparison requires identical test examples and explicit computational accounting. (1) Background: We reassess three sentiment-classification paradigms under matched binary-label evaluation on IMDb movie reviews and Sentiment140 tweets. (2) Methods: After duplicate and label audits, VADER, TF–IDF with validation-tuned Logistic Regression, and three-epoch GPU-fine-tuned DistilBERT were evaluated on the same 5065 IMDb and 10,000 Sentiment140 held-out records within each corpus. Accuracy, macro-F1, confusion matrices, paired McNemar tests, bootstrap intervals, training time, and inference throughput were computed from saved predictions and execution logs. (3) Results: DistilBERT reached 92.00% accuracy on IMDb and 83.41% on Sentiment140, compared with 91.06% and 78.77% for Logistic Regression and 69.83% and 66.54% for VADER. DistilBERT exceeded Logistic Regression by 0.95 percentage points on IMDb (paired 95% CI 0.08–1.76; p=0.0351 ) and by 4.64 points on Sentiment140 (CI 3.85–5.41; p<0.001 ), but required GPU fine-tuning and longer measured training. (4) Conclusions: The relative advantage of a transformer depends on the dataset and available computation. Logistic Regression remains a compact, accurate alternative; results are restricted to these two within-domain configurations and do not demonstrate cross-domain transfer or domain causation.

Leer más

SPE-ECG: An Ontology-Guided Knowledge Representation Framework for Enhancing LLM-Based Code Generation

Artículos y libros

Large Language Models (LLMs) can translate natural-language instructions into code, but when the input is unstructured clinical protocol text, the generated code may omit doses, monitoring intervals, or safety thresholds that the text states. Such omissions matter because they can propagate into software that supports clinical monitoring. We propose SPE-ECG (Structured Prompt Engineering for Enhanced Code Generation), a transparent, rule-based pipeline that converts unstructured domain text into a JSON prompt using text cleaning, part-of-speech tagging, bigram matching, and hand-built domain dictionaries, without fine-tuning any model. In a case study of 43 rheumatoid arthritis DMARD monitoring protocols, we compared raw and structured prompts on three LLMs (GPT-3.5, LLaMA 2, and Gemma), scoring the generated Python code using version 3.15.1 with BLEU against the raw-prompt code of the other two models. Mean BLEU rose for all three models (relative gains of 55.1%, 32.5%, and 19.9%); the paired differences were significant for GPT-3.5 and LLaMA 2 but not, after correction for multiple comparisons, for Gemma. These results suggest that lightweight input structuring can change how closely different models’ outputs agree, and that it could serve as a low-cost, auditable preparation step for protocol-to-code tools built on free or open models. BLEU does not measure correctness, no ablation or state-of-the-art baseline was run, and clinical validation is required before any use.

Leer más

Does unpaired 3D CT context help few-shot multiplex pathology classification? A controlled feasibility study

Artículos y libros

Introduction: Retrieval-augmented cross-modal methods are increasingly proposed for data-scarce pathology tasks, yet whether a model uses the transferred context is rarely tested.Methods: We examine an unpaired setting in which a bank of three-dimensional computed tomography (CT) descriptors supplies retrieved context for classifying two-dimensional multiplex immunofluorescence tiles. A 3D encoder was pretrained with contrastive self-supervision on 61 lung CT volumes, and the CT descriptors retrieved for each tile were fused with its pathology features through cross-attention and gated fusion. The task was tumour-core vs. stroma classification of 172 tiles from eight head and neck squamous cell carcinoma patients, with pathologist-selected region types as labels. Evaluation used leave-one-patient-out cross-validation with three seeds.Results: The full pipeline reached a balanced accuracy of 94.0% (patient-level bootstrap 95% confidence interval (CI) 90.3% -97.4%) and an area under the ROC curve (AUC) of 0.989, but an identically trained pathology-only model performed comparably (94.8%, AUC 0.979), as did models whose CT bank was replaced by noise, a constant vector or random retrieval. The CT context also gave no benefit when the dominant PanCK channel was removed (75.8% vs. 76.6%), when tumour core was classified against tumour margin or under annotation budgets of 2 to 16 labelled tiles per class. In contrast, supplying label-relevant PanCK statistics as the context in place of CT restored the accuracy lost without PanCK (95.5% vs. 76.6%), showing that the fusion pathway can exploit informative context.Discussion: The CT context can be integrated but contributes no detectable information in this setting. The control protocol and code are released.

Leer más