Skip to content

mrperfectpandit/your-personality

Repository files navigation

Your-Personality

_Our Mission to find out inner you on the bases of MBTI 16 personality.

LinkdeIN Instagram Gmail Devto

ForTheBadge built-with-love ForTheBadge makes-people-smile ForTheBadge built-with-swag

📈Datasets

MBTI-Dataset
BERT_model_downalod

📝Table of Content

📜Overview

👉This project is based on MBTI 16 personality which helps to identify user personality, it uses twitter API to fetch the data and BERT Model with 86 % accuracy to predict the result.
👉It takes Twitter handle as a input and based on user tweets Predict the Personality of the user.

📁Samples Pictures or Demo


🎞Video_Demo

video_demo

📖Results

Model Train acc. Val acc.
LSTM 22 % 18 %
BERT 88 % 86 %

🔑Installation and run

👉Create twitter API and put API keys in Scraper_tweets.py

Access credentials
consumer_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx' #enter consumer key
consumer_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' #enter consumer key secret
access_token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' #enter access token
access_token_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' #enter access token secret

  1. Clone the repository
https://github.com/mrperfectpandit/your-personality.git
  1. Create virtual environment
conda create --name myenv

3.update two folders in same path
👉twitter_data --> it will kept the user_personality and follower result in CSV format.
👉model --> put the Pretrained weight in this folder.

The Code is written in Python 3.7.10. If you don't have Python installed you can find it here and Tensorflow 2.3.1. If you are using a lower version of Python and Tensorflow you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository:

  1. Install the dependencies and devDependencies and start the server.
pip install -r requirements.txt

For production environments...

cd where you clone the repo
python app.py
or 
flask run --port 8085

when you put a twitter handle it will take some time because that time data is fetch from twitter through twitter API.

🤔MBTI

Both Myers and Briggs were fascinated by Jung's theory of psychological types and recognized that the theory could have real-world applications. During World War II, they began researching and developing an indicator that could be utilized to help understand individual differences.
By helping people understand themselves, Myers and Briggs believed that they could help people select occupations that were best suited to their personality types and lead healthier, happier lives.

The goal of the MBTI is to allow respondents to further explore and understand their own personalities including their likes, dislikes, strengths, weaknesses, possible career preferences, and compatibility with other people.

No one personality type is "best" or "better" than another. It isn't a tool designed to look for dysfunction or abnormality. Instead, its goal is simply to help you learn more about yourself. The questionnaire itself is made up of four different scales.

👉Extraversion (E) – Introversion (I)

The extraversion-introversion dichotomy was first explored by Jung in his theory of personality types as a way to describe how people respond and interact with the world around them. While these terms are familiar to most people, the way in which they are used in the MBTI differs somewhat from their popular usage.

Extraverts (also often spelled extroverts) are "outward-turning" and tend to be action-oriented, enjoy more frequent social interaction, and feel energized after spending time with other people. Introverts are "inward-turning" and tend to be thought-oriented, enjoy deep and meaningful social interactions, and feel recharged after spending time alone.

We all exhibit extraversion and introversion to some degree, but most of us tend to have an overall preference for one or the other

👉Sensing (S) – Intuition (N)

This scale involves looking at how people gather information from the world around them. Just like with extraversion and introversion, all people spend some time sensing and intuiting depending on the situation. According to the MBTI, people tend to be dominant in one area or the other.

People who prefer sensing tend to pay a great deal of attention to reality, particularly to what they can learn from their own senses. They tend to focus on facts and details and enjoy getting hands-on experience. Those who prefer intuition pay more attention to things like patterns and impressions. They enjoy thinking about possibilities, imagining the future, and abstract theories.

👉Thinking (T) – Feeling (F)

This scale focuses on how people make decisions based on the information that they gathered from their sensing or intuition functions. People who prefer thinking place a greater emphasis on facts and objective data.

They tend to be consistent, logical, and impersonal when weighing a decision. Those who prefer feeling are more likely to consider people and emotions when arriving at a conclusion.

👉Judging (J) – Perceiving (P)

The final scale involves how people tend to deal with the outside world. Those who lean toward judging prefer structure and firm decisions. People who lean toward perceiving are more open, flexible, and adaptable. These two tendencies interact with the other scales.

Remember, all people at least spend some time extraverting. The judging-perceiving scale helps describe whether you extravert when you are taking in new information (sensing and intuiting) or when you are making decisions (thinking and feeling).

MBTI types

Each type is then listed by its four-letter code: According to the Myers & Briggs Foundation, it is important to remember that all types are equal and that every type has value.

😉ISTJ - The Inspector
😁ISTP - The Crafter
😃ISFJ - The Protector
😍ISFP - The Artist
😚INFJ - The Advocate
😛INFP - The Mediator
😕INTJ - The Architect
🤔INTP - The Thinker
🥱ESTP - The Persuader
😇ESTJ - The Director
😊ESFP - The Performer
🤗ESFJ - The Caregiver
😎ENFP - The Champion
😳ENFJ - The Giver
😠ENTP - The Debater
🤫ENTJ - The Commander

🛠Tech Libraries and Models

Made withJupyter

Bootstrap ForTheBadge uses-html ForTheBadge uses-css ForTheBadge uses-js


🤝Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

🐞Bug / Feature Request

If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result

🙇‍♀️⚡Created By

Aman Sharma
Mitansh Rajpoot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors