Machine Learning Classification of Poor Households: A Comparative Analysis of KNN, Naïve Bayes, and Random Forest

  • Elisabeth Evelin Karuna Universitas Negeri Makassar
Keywords: Classification, Machine Learning, Poverty, Random Forest

Abstract

The issue of poverty is not only seen from the number or percentage of poor people, but also from its depth and severity. The poverty depth index measures the average difference between poor households' expenditures and the poverty line, while the poverty severity index reflects the disparity in expenditures among poor households. To support the effectiveness of targeted social assistance distribution, a data-based classification approach is needed to identify the characteristics of poor households. This study uses a supervised learning approach, namely the Random Forest (RF), K-Nearest Neighbor (KNN), and Naïve Bayes (NB) algorithms. Random Forest works by building multiple decision trees and combining the voting results from each tree to determine the household class. KNN classifies households based on the majority class of the k nearest neighbors in the feature space, while Naïve Bayes uses a probabilistic approach assuming feature independence. The analysis process begins with data preprocessing (cleaning missing values and normalization), followed by modeling, validation using 5-fold cross-validation, and performance evaluation using accuracy, precision, recall, and F1-score. The data used was obtained from the 2022 Bengkulu Province National Socioeconomic Survey conducted by the Central Statistics Agency. The analysis results show that the important variables in determining poverty status are floor area, toilet facilities, and drinking water sources. The Random Forest algorithm achieved the highest accuracy, at 61.62%, and is recommended as the best classification model to support more targeted social assistance distribution policies.

 

Keywords: Classification, Machine Learning, Poverty, Random Forest

Downloads

Download data is not yet available.
Published
2026-11-30