A machine learning approach to identifying key predictors of Peruvian school principals' job satisfaction
Open Access
- 9 May 2025
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Education
- Vol. 10, 1580683
Abstract
School principals encounter contemporary demands that impact their job satisfaction and leadership effectiveness. Despite the significance of this issue, there is limited research on satisfaction predictors for these professionals, particularly using machine learning approaches. This study identified key predictors of job satisfaction among Peruvian school principals by applying an ensemble of feature selection methods and evaluating five machine learning algorithms (Random Forest, Decision Trees-CART, Histogram-Based Gradient Boosting, XGBoost, and LightGBM) with data from the 2018 National Survey of Directors. The principal variables identified included satisfaction with salary, geographic location of the educational institution, relationships with students and teachers, workplace climate, student learning achievements, and job benefits. Economic factors proved important, such as gross and net income, and the minimum monthly amount required to meet household needs. Time-related aspects also exerted influence, including hours dedicated to training, time spent on administrative and/or teaching duties outside working hours, travel time to and from the Local Educational Management Unit (UGEL), duration of stays at the UGEL, and commuting time from principal residence to the educational institution. The Histogram-Based Gradient Boosting algorithm, optimized with Bayesian techniques and trained with data balanced through Random Oversampling, achieved a balanced accuracy of 0.63 on a test set with real-world class distribution. When using Generative Adversarial Networks to balance only the training set, better results were obtained in recall (0.74), precision (0.72), and F1 score (0.70). SHAP analysis revealed that economic factors primarily influenced dissatisfied principals, while interpersonal factors were more important for highly satisfied principals, suggesting a hierarchical pattern of needs. The findings could inform strategies to enhance principals' job satisfaction and strengthen data-driven educational policies.Keywords
This publication has 78 references indexed in Scilit:
- Job Satisfaction and the ‘Great Resignation’: An Exploratory Machine Learning AnalysisSocial Indicators Research, 2023
- Categorical Data: Need, Encoding, Selection of Encoding Method and Its Emergence in Machine Learning Models—A Practical Review Study on Heart Disease Prediction Dataset Using Pearson Correlation2023
- Consensus and majority vote feature selection methods and a detection technique for web phishingJournal of Ambient Intelligence and Humanized Computing, 2020
- Peru: A Wholesale Reform Fueled by an Obsession with Learning and Equity2020
- Prediction of academic performance associated with internet usage behaviors using machine learning algorithmsComputers in Human Behavior, 2019
- The impact of preprocessing steps on the accuracy of machine learning algorithms in sentiment analysisComputational and Mathematical Organization Theory, 2018
- Using machine learning to predict student difficulties from learning session dataArtificial Intelligence Review, 2018
- Exploratory Data Analysis2016
- A review of feature selection methods based on mutual informationNeural Computing and Applications, 2013
- Exploratory data analysisEuropean Journal of Operational Research, 1986