{'fraction_non_alphanumeric': 0.01948051948051948, 'fraction_numerical': 0.0, 'mean_word_length': 5.066929133858268, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Predicting MBTI Personality type with K-means Clustering and Gradient Boosting

Personality refers to a characteristic pattern of thoughts, behavior, and feelings that makes a person unique. Asking users to fill a questionnaire to get their personality insights could be inaccurate because the users are conscious and try to take a careful approach when filling the survey. However, when it comes to social media, users do not take any consideration before posting their opinions on social media. Therefore, the data obtained from social media could be precious to determine the user personality type. In this paper, we propose a way to analyze the user's data posted on social media by combining two existing machine learning algorithms, such as K-Means Clustering and Gradient Boosting, in order to predict user personality type. Moreover, this research helps to analyze the empirical relation between the user's data posted on social media and the user's personality. In this paper, we used The Myer-Briggs Type Indicator (MBTI) introduced by Swiss psychiatrist Carl Jung. MBTI is based on sixteen personality types, and they act as a valuable reference point to understand a person's unique personality. The technique of combining these two machine learning algorithms gave accurate results than the traditional naive Bayes classification and other algorithms. Results of this study can help bloggers and social media users to know what type of personality they are showing on the social media with the data they posted on the internet.