Producción científica y docente

Producción científica reciente

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

Producción Científica

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

Interpretable Machine Learning for Research Evaluation: Transparent Bibliometric Rules and the Limits of Association with Institutional Recognition in Neuroscience

Producción Científica

The rapid growth of the scientific literature has intensified interest in how bibliometric information relates to scientific recognition, particularly in interdisciplinary fields such as neuroscience. Existing studies often rely on isolated indicators or black-box models. Here, the outcome is defined narrowly as institutionally recognized influence, operationalized as receipt of a prestigious neuroscience award from one of five societies (SFN, IBRO, FENS, CNS, ANS), rather than scientific influence in general. We compute 64 author assessment parameters in four categories for a balanced dataset of 1060 researchers (530 awardees, 530 non-awardees), using publications dated before the award year. A multilayer perceptron with leave-one-out feature ablation (MLP-FIS) ranks the parameters, and the top five per category feed Gini-based decision trees from which human-readable rules are extracted. On a random 20% test split the highlighted rules capture 33–49% of awardees at 83–95% specificity. Under repeated cross-validation with in-fold feature ranking, trees reach 66–70% accuracy against 68–73% for random forests, and the MLP-FIS top-five sets were unstable across folds. On a temporal hold-out of 106 researchers, rule accuracy was 52–67%. The benchmark results show limited incremental predictive advantage over strong conventional alternatives; accordingly, the contribution is interpretive rather than performance-based. The rules are descriptive benchmarks of bibliometric patterns associated with institutional recognition, not validated tools for judging scientific influence or individuals, and the analysis is subject to citation-timing leakage, award-selection bias and data-quality problems.

Leer más

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

Producción Científica

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

Learning to Play Like Humans: A Deep Neural Framework for Believable Agent Development in Virtual Worlds

Producción Científica

Many existing intelligent agents still behave in a mechanical way leading to user dissatisfaction and lack of engagement. To create more realistic and accurate imitations, this study proposes an imitation learning framework that explores deep learning (DL) and traditional machine learning, to build a computational model. The approach is tested using two case studies: Pac-Man to predict human behavior, and Player Unknown's Battlegrounds (PUBG) to evaluate how well the model could imitate it. Recurrent neural networks (RNN), gated recurrent units, long short-term memory networks (LSTM), random forest, extreme gradient boosting (XGBoost), etc. To assess model performance, mean squared error, root mean squared error, and accuracy are used. Among the employed models, RNN and LSTM achieved near-identical and highest accuracy on Pac-Man (99.98% and 99.96% on the combined dataset), clearly ahead of GRU, random forest and XGBoost, while XGBoost performed best on PUBG with 97.37% accuracy. A dedicated discussion explains why RNN performs well in the low-dimensional, short-horizon Pac-Man setting and lists its advantages and limitations. The Mann–Whitney U Test and the Cosine similarity tests are also applied to measure how believable the imitated behaviors were. Neither analysis detected a statistically significant difference between human and model traces, and cosine similarity was approximately 0.98.

Leer más

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

Producción Científica

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