Ir directamente a la navegación principal Ir directamente a la búsqueda Ir directamente al contenido principal

Predicting a few or many friends in schoolchildren: a machine learning approach

  • José Ventura-León
  • , Goldie Gamboa-Melgar
  • , Jonathan Ruiz-Castro
  • , Cristopher Lino-Cruz
  • , Shirley Tocto-Muñoz
  • Universidad Peruana de Ciencias Aplicadas
  • Universidad Continental
  • Universidad Privada del Norte

Producción científica: Contribución a una revistaArtículorevisión exhaustiva

Resumen

Machine learning algorithms were used to determine whether Peruvian 8–12-year-olds (N = 730) believe they have many or few friends based on sociodemographic and psychological variables. Theoretical variables were depression (PHQ-8), subjective well-being (SWB-3), sorrow, bullying, and birthplace. With stratified 10-fold cross-validation, the easyML R package examined six algorithms: Random Forest, XGBoost, Support Vector Machine, Neural Network, Logistic Regression, and Decision Tree. The cross-validation pipeline used SMOTE to correct class imbalance (25.6% few vs. 74.4% many friends). Logistic Regression had the greatest ROC-AUC (0.663 in cross-validation, 0.673 on the test set) and no overfitting (CV-test gap = −0.010). The greatest SHAP predictor was subjective well-being, followed by depression and birthplace. Youden’s J index threshold optimization (optimal = 0.44) increased classification accuracy from 64.6% to 72.8%. Psychology predicts friendship perception in youngsters, with well-being outweighing clinical symptomatology.

Idioma originalInglés
PublicaciónJournal of General Psychology
DOI
EstadoAceptada/en prensa - 2026

Huella

Profundice en los temas de investigación de 'Predicting a few or many friends in schoolchildren: a machine learning approach'. En conjunto forman una huella única.

Citar esto