Producción científica y docente

Producción científica reciente

Metaheuristic Class Balancing and Hyperparameter Optimization for Diabetes Classification: A Two-Stage PSO–GA Framework

Artículos y libros

Background/Objectives: Accurate identification of individuals with diabetes or prediabetes from population health data can support screening and population-level disease management. However, substantial class imbalance in health datasets can bias machine learning classifiers toward the majority class and reduce the detection of affected individuals. This study proposes a two-stage metaheuristic machine learning framework combining Particle Swarm Optimization (PSO)-based class balancing with Genetic Algorithm (GA)-based classifier optimization for diabetes classification using health, behavioral, demographic, and socioeconomic information. Methods: The proposed framework integrates two optimization stages. First, Particle Swarm Optimization (PSO) is used to select majority-class training observations to address class imbalance. Second, a Genetic Algorithm (GA) is applied to optimize the hyperparameters of three classifiers: Multilayer Perceptron (MLP), implemented as an Artificial Neural Network (ANN); Extreme Gradient Boosting (XGBoost) version 3.4.1; and Random Forest (RF). The framework is evaluated using the CDC Diabetes Health Indicators dataset, comprising 253,680 observations and 21 predictors. Predictive performance is compared across the original imbalanced data, random undersampling, and PSO-based balancing using Accuracy, Specificity, ROC-AUC, and average precision. Results: The proposed PSO–GA framework demonstrates strong discrimination between individuals with and without diabetes/prediabetes. The best-performing model achieves a ROC-AUC of approximately 0.95, an average precision of 0.87, and an accuracy of 0.90 in the reported evaluation. These findings suggest that combining optimization-based class balancing with evolutionary hyperparameter tuning can support predictive modeling in imbalanced population health datasets. Conclusions: The proposed two-stage PSO–GA framework provides a systematic approach to diabetes classification by integrating majority-class sample selection with hyperparameter optimization of ANN, XGBoost, and RF classifiers. The findings demonstrate the potential of metaheuristic optimization for improving classification performance in imbalanced health datasets. Further validation using independent populations and prospective healthcare data is required before clinical deployment.

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

Rethinking the development of teacher autonomy: the heteronomy of teaching as a relational perspective on self-determined learning

Artículos y libros

Introduction: Teacher education often promotes professional autonomy while assessing teachers' compliance with predefined competencies. However, less attention has been paid to the relational conditions that enable beginning teachers to develop independent professional judgment. This study examines how newly qualified teachers describe the relationships, institutional experiences, and learning practices that shape their professional development. It introduces teacher heteronomy as a conceptual perspective on how interaction with others contributes to the formation of autonomous pedagogical judgment.Methods: The study employed an exploratory mixed-methods design within the Erasmus+ DigitalTA project (2023–2024). Data were collected through an online questionnaire completed by 327 teachers from Spain and 15 countries or territories in the Americas, and a focus group involving six early-career teachers in Spain. Survey data were analysed using descriptive statistics, while open-ended responses and focus-group discussions underwent inductive categorisation and thematic analysis. Findings from both sources were compared.Results: Participants identified integration into teaching teams as their main expectation of school leadership (68.2%). Communication difficulties with colleagues (44.3%) and lack of confidence (44.0%) were common challenges. University studies (43.7%) and postgraduate education (41.3%) were frequently reported learning sources, while 30.9% highlighted learning in the workplace as a key source of professional development and self-evaluation was the most selected reflective strategy (72.8%). Pedagogical and socio-emotional competences were prominent priorities. Participants also called for more school-based practice, updated curricula, mentoring, and stronger professional support.Discussion: The findings support a relational understanding of professional learning, highlighting the importance of colleagues, mentors, institutional experiences, and reflective practices in beginning teachers' development. The article proposes teacher heteronomy as a conceptual framework in which engagement with others contributes to autonomous professional judgment, rather than implying dependence or obedience. In dialogue with heutagogy, this perspective suggests strengthening initial teacher education through supervised placements, mentoring, collaborative inquiry, and opportunities for self-determined learning. Longitudinal research is needed to assess these relationships empirically.

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

Hybrid deep learning and CNN-Isotonic Regression framework for accurate global mean sea level rise prediction using multi-source atmospheric and oceanic data

Artículos y libros

Keeping track of Global Mean Sea Level (GMSL) over long periods is important for assessing coastal risk. However, deep learning models may produce predictions that exhibit short-term increases and decreases, potentially conflicting with expected long-term physical behavior. In this study, we propose a combined Convolutional Neural Network and Isotonic Regression framework, termed CNN-ISO, for modeling and forecasting annual GMSL changes over the period 1880–2024. The framework uses 11 predictors representing atmospheric, oceanic, and cryospheric conditions. To provide longer temporal sequences, the original 144 annual observations are linearly interpolated into 1728 monthly observations. Model evaluation follows a strict chronological split, with training data from 1880–1979, validation data from 1980–1999, and test data from 2000–2024. All preprocessing transformations and the isotonic mapping are fitted exclusively on the training set to prevent information leakage from later periods. On the unseen test period, CNN-ISO achieves R 2 = 0.997 with a 95% confidence interval of [ 0.995,0.999 ] , together with an MAE of 0.56 mm and an RMSE of 0.72 mm. For comparison, linear regression achieves R 2 = 0.982 . Although the predictive improvement over linear regression is relatively modest, CNN-ISO provides an additional constraint by producing monotonic out-of-sample projections, which is consistent with the assumed long-term behavior of GMSL. Under statistical trend extrapolation to 2050, CNN-ISO estimates a GMSL increase of 184.10 mm relative to the baseline. However, estimates vary substantially across models, with linear regression and LSTM producing 116.60 mm and 299.19 mm, respectively. These results should therefore be interpreted as trend-based statistical extrapolations rather than comprehensive climate projections, as the framework does not explicitly model ice-sheet dynamics, changes in ocean circulation, or future emission pathways. Nevertheless, the proposed approach provides a transparent framework for examining model uncertainty and may support early-stage coastal adaptation planning.

Leer más