Coder Social home page Coder Social logo

siddhant-k-code / classification-of-personality-based-on-users-twitter-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prakhar824/classification-of-personality-based-on-users-twitter-data

1.0 1.0 0.0 19.02 MB

A Natural Language Processing (NLP), Machine Learning and Data Mining project, which will automate the screening process before hiring a professional or can be used in psychiatry to check effectivity of patient therapy.

License: MIT License

Python 100.00%

classification-of-personality-based-on-users-twitter-data's Introduction

Classifying Personality Of A Person Based On His Twitter Data

forthebadge made-with-python

HitCount PyPI license PyPI pyversions Documentation Status GitHub issues GitHub pull-requests GitHub forks GitHub watchers

A Natural Language Processing (NLP), Machine Learning and Data Mining project, which will automate the screening process before hiring a professional or can be used in psychiatry to check effectivity of patient therapy.

● Uses the Twitter REST API to mine tweets for personality identification.
● Create n-grams and word vectors for the hashtags, emoticons and phrases using NLP techniques like TF-IDF.
● Train the machine to classify the personality types by using a Naive-Bayes Text Classifier.
● Accurately predict the user’s Myers-Briggs personality type using 10-fold cross validation.

🌈 Types of Personalities :

In Myer's Briggs Type indicator Classification we have 16 types of personality which can be categorized as :

🚀 Usage :

  1. First step is to run the requirement.txt file to install all the libraries and dependencies.
  2. Run pyGen.py first to generate your naive bayes classifier models for all 4 different classes. It will generate few scores which will give the training data size and the features used while training the model.
  3. Run pyPredict(use your own Twitter keys) and enter the username you want to predict.

🌴 Contribution :

contributions welcome GitHub contributors

👍🎉 First off, thanks for taking the time to contribute! 🎉👍

Did you find a bug?

  • Ensure the bug was not already reported by searching on GitHub under Issues.
  • Open up a New Github issue if you find a bug and it have not been lready reported by searching on GitHub under Issues section.

Did you write a patch that fixes a bug?

  • Open a new GitHub pull request with the patch
  • Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable
  • Once you open up a Pull Request the maintainer will check the PR and merge it.

Do you aim to add a brand new feature or change an existing one?

  • Suggest your change in the to us and start writing code.
  • Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended for bug reports and fixes.

Do you have questions about the source code?

  • Want to ask any question about this project us you can simply create an issue. we will reply to your questions there.

Thanks for taking out your time! ❤️ saythanks

classification-of-personality-based-on-users-twitter-data's People

Contributors

shraddhasaini avatar prakhar824 avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.