Klasifikasi Tipe Kepribadian Mbti Mahasiswa Menggunakan Algoritma Random Forest
Original Full-Text Article
Download published version for reading and archivingAbstract
Personality influences how an individual thinks, behaves, and interacts. This study aims to apply the Random Forest algorithm to classify the Extrovert–Introvert (E–I) dimension of the Myers-Briggs Type Indicator (MBTI), rather than all 16 personality types. Data were collected via a questionnaire administered to 250 students at the State Islamic University of North Sumatra (UINSU). The dataset was divided into 80% training data (200 samples) and 20% testing data (50 samples). The classification process involved bootstrap sampling, random feature selection, the construction of decision trees, and majority voting. Evaluation was performed using a confusion matrix, with metrics including accuracy, precision, recall, and F1-score. The test results yielded an accuracy of 96%. Class 0 achieved a precision, recall, and F1-score of 0.90, while Class 1 achieved a score of 0.97. These findings demonstrate the potential of the Random Forest algorithm in assisting with the systematic classification of questionnaire results. However, these results are specific to the dataset used and require further validation using more diverse data.
Keywords:
Author Biographies
Program Studi Ilmu Komputer, Fakultas Sains dan Teknologi, Universitas Islam Negeri Sumatera Utara, Kota Meden, Sumatera Utara, Indonesia.
Program Studi Ilmu Komputer, Fakultas Sains dan Teknologi, Universitas Islam Negeri Sumatera Utara, Kota Meden, Sumatera Utara, Indonesia.
Program Studi Ilmu Komputer, Fakultas Sains dan Teknologi, Universitas Islam Negeri Sumatera Utara, Kota Meden, Sumatera Utara, Indonesia.
How to Cite
This work is licensed under a Copyright (c) 2027 Nurhidayati Nurhidayati, Reza Ade Putra, Armansyah Armansyah .
This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License .
- Share: You are free to copy, distribute, and transmit the work in any medium or format.
- Adapt: You are free to remix, transform, and build upon the work for any purpose, even commercially.
- Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
References
Total: 18 References- Abidin, N. H. Z., Remli, M. A., Ali, N. M., Phon, D. N. E., Yusoff, N., Adli, H. K., & Busalim, A. H. (2020). Improving intelligent personality prediction using Myers-Briggs type indicator and random forest classifier. International Journal of Advanced Computer Science and Applications, 11(11).
- Aini, N., Arif, M., Agustin, I. T., & Toyibah, Z. B. (2024). Implementasi Algoritma Random Forest untuk Klasifikasi Bidang MSIB di Prodi Pendidikan Informatika. Jurnal Informatika, 11(1), 11–16. https://doi.org/10.31294/inf.v11i1.20637.
- Anggraini, S., & Abidin, M. (2025). Sudut pandang individu introvert dan ekstrovert dalam berinteraksi sosial. JSHP: Jurnal Sosial Humaniora Dan Pendidikan, 9(1), 105-117. https://doi.org/10.32487/jshp.v9i1.2156.
- Anggraini, S., & Abidin, M. (2025). Sudut pandang individu introvert dan ekstrovert dalam berinteraksi sosial. JSHP: Jurnal Sosial Humaniora Dan Pendidikan, 9(1), 105-117. https://doi.org/10.32487/jshp.v9i1.2156.
- Aufa, M. J., & Qoiriah, A. (2023). Analisis Sentimen Pengguna Platform Belajar Online Coursera menggunakan Random Forest dengan Metode Ekstraksi Fitur Word2vec. Journal of Informatics and Computer Science (Jinacs), 244–255. https://doi.org/10.26740/jinacs.v4n02.p244-255.