Vol. 4 No. 1 (2027) • Articles
Open Access

Klasifikasi Tipe Kepribadian Mbti Mahasiswa Menggunakan Algoritma Random Forest

Nurhidayati Nurhidayati
Universitas Islam Negeri Sumatera Utara image/svg+xml
Reza Ade Putra
Universitas Islam Negeri Sumatera Utara image/svg+xml
Armansyah Armansyah
Universitas Islam Negeri Sumatera Utara image/svg+xml
Published: January 27, 2027 Pages: 177-191
Original Full-Text Article
Download published version for reading and archiving
Abstract

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.

Article Metrics & Downloads Graph
Monthly Download Trends:
Author Biographies
Nurhidayati Nurhidayati Universitas Islam Negeri Sumatera Utara

Program Studi Ilmu Komputer, Fakultas Sains dan Teknologi, Universitas Islam Negeri Sumatera Utara, Kota Meden, Sumatera Utara, Indonesia.

Reza Ade Putra Universitas Islam Negeri Sumatera Utara

Program Studi Ilmu Komputer, Fakultas Sains dan Teknologi, Universitas Islam Negeri Sumatera Utara, Kota Meden, Sumatera Utara, Indonesia.

Armansyah Armansyah Universitas Islam Negeri Sumatera Utara

Program Studi Ilmu Komputer, Fakultas Sains dan Teknologi, Universitas Islam Negeri Sumatera Utara, Kota Meden, Sumatera Utara, Indonesia.

How to Cite
Nurhidayati, N., Putra, R. A. ., & Armansyah, A. (2027). Klasifikasi Tipe Kepribadian Mbti Mahasiswa Menggunakan Algoritma Random Forest. Jurnal Ilmu Komputer Dan Teknologi Informasi, 4(1), 177-191. https://doi.org/10.63447/jikti.v4i1.2205
License

This work is licensed under a Copyright (c) 2027 Nurhidayati Nurhidayati, Reza Ade Putra, Armansyah Armansyah .

Creative Commons Attribution 4.0 International License (CC BY 4.0)

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.
Copyright & Retention: Authors retain copyright without restrictions and grant this journal the right of first publication under an open-access model. The journal retains non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.

References
Total: 18 References
  1. 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).
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Azim, F., Sihaloho, D. I. R., Rizki, M., Alghifary, A. H., Habibullah, H. Q., Kusuma, H. J., & Gunawan, R. (2025). Penerapan Random Forest untuk Identifikasi Tipe Kepribadian: Studi Kasus Klasifikasi Introvert dan Extrovert. Coding: Journal of Computing and Software Engineering, 66-73. https://doi.org/10.25181/coding.v1i2.4368.
  7. Edman Priyono, S. (2021). PREDIKSI KEPRIBADIAN PENGGUNA INSTAGRAM BERDASARKAN MBTI MENGGUNAKAN ALGORITMA RANDOM FOREST (Doctoral dissertation, Universitas International Semen Indonesia).
  8. Erkamim, M., Nurhayati, N., Heriyani, N., & Riyanto, U. Klasifikasi Kepribadian Introvert dan Extrovert Menggunakan Random Forest, Naïve Bayes, dan K-Nearest Neighbor. Jurnal Ilmiah Fifo, 17(2), 202-211. https://doi.org/10.22441/fifo.2025.v17i2.009.
  9. Harahap, R. N., & Muslim, K. (2020). Peningkatan Akurasi Pada Prediksi Kepribadian MBTI Pengguna Twitter Menggunakan Augmentasi Data. J. Teknol. Inf. dan Ilmu Komput, 7(4), 815.
  10. Irawan, I., Qisthiano, M. R., & Jakak, P. M. (2023). Optimasi Prediksi Kelulusan Tepat Waktu: Studi Perbandingan Algoritma Random Forest dan Algoritma K-NN Berbasis PSO. Jurnal Pengembangan Sistem Informasi Dan Informatika, 4(4), 26–35. https://doi.org/10.47747/jpsii.v4i4.1374.
  11. Maulidah, M. (2023). Klasifikasi Kepribadian Menggunakan Algoritma Machine Learning.
  12. Putri, R. A., & Fatonah, N. S. (2022). Perbandingan Metode Klasifikasi serta Analisis Faktor Akademis Pola Kelulusan Mahasiswa di Perguruan Tinggi. Jurnal Informatika Jurnal Pengembangan It, 7(2), 109–117. https://doi.org/10.30591/jpit.v7i2.3082.
  13. Saleh, J., Adrian, A., & Sanger, J. B. (2022). SISTEM KLASIFIKASI KELULUSAN MAHASISWA DENGAN ALGORITMA RANDOM FOREST. Jurnal Ilmiah Realtech, 18(1), 10–14. https://doi.org/10.52159/realtech.v18i1.4.
  14. Setyanto, A. T. (2023). Deteksi dini prevalensi gangguan kesehatan mental mahasiswa di Perguruan Tinggi. Wacana, 15(1), 66-78. https://doi.org/10.20961/wacana.v15i1.69548.
  15. Sudarmadji, P. W., Fallo, N., & Peli, Y. S. (2023). KOMPARASI ALGORITMA KLASIFIKASI UNTUK MEMPREDIKSI KELULUSAN MAHASISWA PROGRAM STUDI TEKNIK KOMPUTER JARINGAN. Jurnal Ilmiah Flash, 8(2), 109. https://doi.org/10.32511/flash.v8i2.998.
  16. Utomo, F. S., Kusuma, V. S., Baihaqi, W. M., & Subarkah, P. (2025). Optimasi Klasifikasi Gaya Belajar Mahasiswa Inklusif Berdasarkan Model VAK dengan Stratified Split dan Multilayer Perceptron. Jurnal Teknologi Informasi dan Ilmu Komputer, 12(5), 1163-1172. https://doi.org/10.25126/jtiik.2025125.
  17. Widodo, S., Ladyani, F., Lestari, S. M. P., Wijayanti, D. R., Devrianya, A., Hidayat, A., ... & Widya, N. (2023). Buku ajar metode penelitian.
  18. Yusuf, B., Qalbi, M., Basrul, B., Dwitawati, I., Malahayati, M., & Ellyadi, M. (2020). IMPLEMENTASI ALGORITMA NAIVE BAYES DAN RANDOM FOREST DALAM MEMPREDIKSI PRESTASI AKADEMIK MAHASISWA UNIVERSITAS ISLAM NEGERI AR-RANIRY BANDA ACEH. Cyberspace Jurnal Pendidikan Teknologi Informasi, 4(1), 50. https://doi.org/10.22373/cj.v4i1.7247.