Expert System untuk Rekomendasi Pemilihan Bahasa Pemrograman bagi Pemula Menggunakan Algoritma Decision Tree
DOI:
https://doi.org/10.28918/logiclink.v2i1.10924Abstract
This study develops an expert system based on the Decision Tree algorithm to recommend suitable programming languages for beginners, addressing the challenge of selecting the right language amid the abundance of options and diverse learning goals. This topic is significant because choosing the appropriate language can accelerate the learning process and improve the effectiveness of programming education. The research methodology includes the creation of a synthetic dataset comprising 1,500 entries, with the addition of 5% noise. This noise is introduced to simulate real-world data imperfections and to test the model's robustness against unclean or imperfect data. The next stages involve data preprocessing through encoding and normalization, followed by modeling using the Decision Tree algorithm with hyperparameter optimization to enhance model performance. Evaluation results show an accuracy of 95%, with learning goals (38% contribution) and platform preference (35%) emerging as the most influential factors in decision-making. A 10-fold cross-validation produced an average error of 0.046, indicating model stability across various data subsets. Feature importance analysis revealed that the model logically prioritizes technical relevance, for example, by ranking learning goals and platform preference above demographic features, as these are more directly related to the context and practical use of programming languages. The implemented system successfully provided relevant recommendations, such as Python for Data Science and JavaScript for Web Development. This study concludes that the Decision Tree algorithm is effective for recommendation systems based on user profiles, although data enhancement is needed for minority classes such as Java. These findings contribute to the development of more personalized and adaptive programming learning support tools.
Keywords:
References
Aeppli, S., Schmaus, M., Eisen, T., Escudier, B., Grünwald, V., Larkin, J., … & Putora, P. (2021). First-line treatment of metastatic clear cell renal cell carcinoma: a decision-making analysis among experts. Esmo Open, 6(1), 100030.
Bączkiewicz, A., Kizielewicz, B., Shekhovtsov, A., Wątróbski, J., Więckowski, J., & Salabun, W. (2021, December). Towards an e-commerce recommendation system based on MCDM methods. In 2021 International Conference on Decision Aid Sciences and Application (DASA) (pp. 991-996). IEEE.
Chrimes, D. (2023). Using Decision Trees as an expert system for clinical decision support for covid-19. Interactive Journal of Medical Research, 12, e42540.
Diao, Y. and Zhang, Q. (2021). Optimization of management mode of small- and medium-sized enterprises based on Decision Tree model. Journal of Mathematics, 2021, 1-9.
Gantimurov, A., Kravtsov, K., Тынченко, В., Evsyukov, D., & Nelyub, V. (2023). Investigation of the influence of geographical factors on soil suitability using a nonparametric controlled method of training and data analysis. E3s Web of Conferences, 431, 03005.
Gong, H. and He, C. (2022). Intelligent management of land resources based on internet of things and gis technology. Journal of Sensors, 2022, 1-13.
Guntur, S., & Wayahdi, M. R. (2019). Analisis Metode Bayes dalam Identifikasi Varietas Buah Rambutan. In Semantika (Seminar Nasional Teknik Informatika) (Vol. 2, No. 1, pp. 35-41).
Iseli, T., Fischer, G., Panje, C., Glatzer, M., Hundsberger, T., Rothermundt, C., … & Putora, P. (2020). Insular decision criteria in clinical practice: analysis of decision-making in oncology. Oncology, 98(6), 438-444.
J, M., M, S., C, M., & L, C. (2022). Using an expert system for the solution of operational failures in sludge pumps in oil well drilling equipment. International Journal of Engineering in Computer Science, 4(2), 53-58.
Keikes, L., Kos, M., Verbeek, X., Vegchel, T., Nagtegaal, I., Lahaye, M., … & Oijen, M. (2021). Conversion of a colorectal cancer guideline into clinical Decision Trees with assessment of validity. International Journal for Quality in Health Care, 33(2).
Li, F., Meng, L., Liu, X., Li, X., Li, H., & Mi, J. (2024). Blast furnace hanging diagnosis model based on relieff-Decision Tree. Isij International, 64(1), 96-104.
Manza, Y., & Wayahdi, M. R. (2025). Teknologi Kecerdasan Buatan dalam Pengembangan Sistem Cerdas: Tantangan dan Peluang. JUTEK: Jurnal Teknologi, 1(2), 62-67.
Manza, Y., WD, M. S., Ndruru, A. F., & Rosnelly, R. (2024). Model Machine Learning untuk Klasifikasi Warna Fashion Menggunakan Metode K-Nearest Neighbor. Jurnal Minfo Polgan, 13(2), 2613-2618.
Olivier, J. and Aldrich, C. (2021). Use of Decision Trees for the development of decision support systems for the control of grinding circuits. Minerals, 11(6), 595.
Sánchez, D., Moreno, A., & Jiménez‐López, M. (2022). A white-box sociolinguistic model for gender detection. Applied Sciences, 12(5), 2676.
Soguero-Ruíz, C., Mora-Jiménez, I., Mohedano-Munoz, M., Rubio-Sánchez, M., Miguel-Bohoyo, P., & Sánchez, A. (2020). Visually guided classification trees for analyzing chronic patients. BMC Bioinformatics, 21(S2).
Sousa, M. and Rocha, Ã. (2023). Expert systems supporting strategic decisions. Expert Systems, 41(7).
Steffen, T., Häller, L., Bijelić, L., Glatzer, M., Gléhen, O., Goèré, D., … & Putora, P. (2020). Decision-making analysis for hyperthermic intraperitoneal chemotherapy in ovarian cancer: a survey by the executive committee of the peritoneal surface oncology group international (psogi). Oncology, 99(1), 41-48.
Urrea, C. and Mignogna, A. (2020). Development of an expert system for pre-diagnosis of hypertension, diabetes mellitus type 2 and metabolic syndrome. Health Informatics Journal, 26(4), 2776-2791.
Wahyuni, L., Darma, S., & Wayahdi, M. R. (2017, October). Sistem pakar mengidentifikasi gejala defisiensi unsur hara pada tanaman kelapa sawit. In Seminar Nasional Informatika (SNIf) (Vol. 1, No. 1, pp. 216-222).
Wayahdi, M. R., & Ruziq, F. (2022). KNN and XGBoost Algorithms for Lung Cancer Prediction. Journal of Science Technology (JoSTec), 4(1).
Wayahdi, M. R., & Zaki, M. (2025). The role of AI in diagnosing student learning needs: Solutions for more inclusive education. International Journal of Educational Insights and Innovations, 2(1), 1-7.
Wayahdi, M. R., Ginting, S. H. N., & Syahputra, D. (2021). Greedy, A-Star, and Dijkstra's algorithms in finding shortest path. International Journal of Advances in Data and Information Systems, 2(1), 45-52.
Wayahdi, M. R., Ruziq, F., & Ginting, S. H. N. (2024). AI approach to predict student performance (Case study: Battuta University). Journal of Science and Social Research, 7(4), 1800-1807.
Downloads
Published
License
Copyright (c) 2025 Yuke Manza, M. Rhifky Wayahdi

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.









