Prediction of MBTI Personality Leveraging Machine Learning Algorithms
Abstract
In this study, the author attempted to implement a machine learning approach to determine users' corresponding MBTI personality types by relying only on the content of their online forum postings. Models based on different algorithms are built and trained, and the natural language of the collected data set is converted into machine language for machine learning and used in subsequent tests to determine the correctness of the predicting results. The data set is collected from the forum and divided into two parts, the training set is leveraged to train the model and the test data set is leveraged to make personality predictions and compare with the training data set to measure the correctness of the predicting outcomes. The results show that logistic regression algorithm and vectorized representation of text with TfidfVectorizer can best accomplish the prediction task. This study completed a preliminary comparison of algorithms for personality prediction from text, which became the basis for subsequent personality model predictions using other media.
References
- Funder, D. C. (2012). Accurate personality judgment. Current Directions in Psychological Science, 21(3), 177-182.
- Tandera, T., Suhartono, D., Wongso, R., & Prasetio, Y. L. (2017). Personality prediction system from facebook users. Procedia computer science, 116, 604-611.
- Gjurković, M., & Šnajder, J. (2018). Reddit: A gold mine for personality prediction. In Proceedings of the second workshop on computational modeling of people’s opinions, personality, and emotions in social media, 87-97.
- Nisha, K. A., Kulsum, U., Rahman, S., Hossain, M. F., Chakraborty, P., & Choudhury, T. (2022). A comparative analysis of machine learning approaches in personality prediction using MBTI. In Computational Intelligence in Pattern Recognition: Proceedings of CIPR 2021, 13-23.
- Bhatti, S. K., Muneer, A., Lali, M. I., Gull, M., & Din, S. M. U. (2017). Personality analysis of the USA public using Twitter profile pictures. In 2017 International Conference on Information and Communication Technologies, 165-172.
- Hinds, J., & Joinson, A. (2019). Human and computer personality prediction from digital footprints. Current Directions in Psychological Science, 28(2), 204-211.
- Yang, Q., Farseev, A., & Filchenkov, A. (2021). Two-Faced Humans on Twitter and Facebook: Harvesting Social Multimedia for Human Personality Profiling. In Proceedings of the 2021 Workshop on Intelligent Cross-Data Analysis and Retrieval, 39-47.
- Anand, V., Bochkay, K., Chychyla, R., & Leone, A. (2020). Using Python for text analysis in accounting research. Foundations and Trends® in Accounting, 14(3–4), 128-359.
- NERIS Analytics Limited (2023) Global data source:16Personalities. URL: https://www.16personalities.com/country-profiles/global/world#global
- Bhardwaj, H., Tomar, P., Sakalle, A., & Ibrahim, W. (2021). Eeg-based personality prediction using fast fourier transform and deeplstm model. Computational Intelligence and Neuroscience, 2021, 1-10.