Abstract. Happiness is one of the key indicators for measuring the quality of life in a community. This study aims to classify the level of happiness among residents of Bogor Regency using a hybrid approach that combines Decision Trees and K-means. The research procedure consisted of data preprocessing, clustering using K-Means to form preliminary groups, and further classification through a Decision Tree to interpret the determinants of happiness. The analysis revealed that the residents of Bogor Regency can be categorized into two groups: those who are fairly happy and those who are less happy. The hybrid model achieved its best performance with a balanced accuracy of 84%, an F1-Score of 37%, and a Kappa score of 28%. Socioeconomic factors, such as marital status, family status, occupation, and the number of cigarettes smoked, were identified as the primary determinants influencing happiness levels. The main contribution of this study lies in demonstrating the effectiveness of a hybrid Decision Tree–K-Means approach for happiness classification and providing interpretable insights that are directly useful for policymakers. These findings offer strategic implications for the local government to design more inclusive socioeconomic policies that aim to enhance happiness and overall well-being among the residents of Bogor Regency.
Copyrights © 2025