Machine Learning

Predicting the Myers-Briggs Type Indicator (MBTI) of Some Famous Personalities Based on Their Favourite Books

Lawrence TillsonMay 28, 2021

Personality prediction tools have been a significant player in the business world. Whether it's about hiring employees or tailor products as per the customer's need, this tool is being used everywhere for fact-based decisions. One such personality inventory used worldwide is Myers-Briggs Type Indicator (MBTI).

According to BBC, 89 of Fortune 100 companies use MBTI in hiring processes and in the workplace to build stronger, more effective teams and healthy organizations. Analytics and an understanding of customer's personality types help in customized product development and problem-solving. According to Harvard Business Reviews, assessing a customer's personality type at the beginning of a call can cut repeat calls by 40%.

This article will use MBTI to predict different celebrities' personalities based on their suggestions for books. Let's get started!

Dataset

The dataset used for the personality assessment is imported from Kaggle. This dataset contains data collected through the PersonalityCafe forum and has more than 8,000 rows consisting of personality types with 50 different posts.

We also looked at different sites that have the recommendation of books by celebrities. By this data, we will figure out the personality they are having with Myers-Briggs Type Indicator(MBTI). Using MBTI, we understand celebrities' characters, including their likes, dislikes, strengths, weaknesses, and compatibility with other people.

Data Analysis

First, we request a web page and then scrape the data from different websites using Python library request and BeautifulSoup, which is used to pull data out of HTML. After scraping, the description of the book, we get all the information about that specific personality. We cleaned the data by removing URLs, converted them to lowercase, tokenizer, punctuation removal, and removing stopwords.

For a similar analysis where the data is updated regularly (customer emails, call center transcripts, etc.), we recommend using www.datom.ai, a code-free tool with usage-based pricing that allows for scheduling importing of data, data cleansing, data syndication, and other features. Datom.ai also assists with importing with other sources of data and combining it with the named datasets above so that the final analysis can be even more insightful.

The MBTI’s 16 Personality Types

The Myers-Briggs Type Indicator focuses on four parameters. According to MBTI, people must be dominant in one area or the other. Let's discuss these four spectrums.

16-personality-types-3.jpg

With the help of the above scales, the personality of a person can be deduced as one of the following 16 personality types:

16-personality-types.png

Let’s Begin!

We scraped the data from Favobooks. The site includes books recommended by thinkers, pioneers, entrepreneurs, and visionaries. For our analysis, we scraped the description of books recommended by the personalities. After that, we define a function that inputs the scraped data, tokenizes them, and then predicts the output based on our classifiers.

16-personality-types-2.png

Name

Favorite Books’ Source

Personality Type

Personality Traits

Morgans Freeman

Favobooks

INFJ

Determined

Reserved

Altruistic

Idealist

Passionate about making the world a better place

Jack Dorsey

Favobooks

INTJ

Thinker

Helpful

Dedicated

Instinctual Perception of human nature

Jay Z

Favobooks

INTJ

Visionary

Understands what listeners want

Vladimir Putin

Favobooks

INTJ

Ambitious

Well-organized

Structured

Detail-oriented

Elon Musk

Favobooks

INTJ

Introvert

Speaker

Intelligent

Visionary

Angela Merkel

Favobooks

INTJ

Reserved

Prefers to be alone

Practical

Judicial

Tim Ferriss

Favobooks

INTP

Playful

Thinker

Logical

Evan Williams

Favobooks

INTP

Creative

Enjoy taking an unconventional approach

Anthony Robbins

Favobooks

INTP

Extremely sensitive

Shy

Passionate lover

Humorous

Ronald Reagan

Favobooks

INFP

Optimistic

Visionary

Courageous

How Can You Benefit from MBTI?

MBTI’s model preprocesses your data first, then fits and predicts the 4 type indicators, and at last shows the result. Now you can use the same approach to predict the personality type you want.

In Business

Personality assessment helps you not only to hire the right candidate but also to build a great team.

  • MBTI helps to tell about an employee's behavior, character, attitude, opinion, and most importantly, how they interact with others.
  • It helps the companies to make the team for any project by considering the personality types.
  • Personality assessment helps the employer understand the employee’s character better and thus provide suitable stimuli for motivation.

In Marketing

MBTI is very useful in marketing. It helps have invaluable insights about customers and thus have a better interpretation of their interests.

  • Personality assessment helps brands to have tailored customer services.
  • It can also help in creating likewise content for particular groups of customers to attract their attention.

If you also think that personality assessment and related attributes may be impacting your business KPI (Key Performance Indicators), and you need data to be analyzed consistently and fed into another system, please reach out to www.datom.ai.

How Can MindTrades help?

MindTrades Consulting Services, a leading marketing agency provides in-depth analysis and insights for the global IT sector including leading data integration brands such as Diyotta. From Cloud Migration, Big Data, Digital Transformation, Agile Deliver, Cyber Security, to Analytics- Mind trades provides published breakthrough ideas, and prompt content delivery. For more information, check [mindtrades.com].

Code

All the codes used here are available at GitHub and can be found here - https://github.com/Mindtrades-Consulting/Predicting-MBTI-of-Personalities-Based-on-books

Share On Social Media: