Skip to content

Personality plays a vital role in todays world.This uses the Twitter REST API to mine tweets for personality identification. We will use n-grams and word vectors for the hashtags, emoticons and phrases using NLP techniques. We will train the machine to classify the personality types by using a Naive- Bayes Text Classifier and to accurately predi…

Notifications You must be signed in to change notification settings

anirudhtulasi/TwiP

Repository files navigation

Total Lines of Code GitHub issues GitHub pull requests GitHub followers GitHub forks Cocoapods platforms Website GitHub last commit Maintenance GitHub repo size


Logo

TwiP

Personality plays a vital role in todays world.This uses the Twitter REST API to mine tweets for personality identification. We will use n-grams and word vectors for the hashtags, emoticons and phrases using NLP techniques. We will train the machine to classify the personality types by using a Naive- Bayes Text Classifier and to accurately predict the user’s Myers-Briggs personality type using 10- fold cross validation. We will generate a 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.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

We wanted to perform Personality Classification by Suggestion Mining. Unlike other methods we wanted the project to only take the Twitter Username as the input. For this to work we tried to use the Twitter REST API to mine tweets. All the papers only showcased to classify the personality into 4 classes ( Good, Bad, Neutral, N/A) but here we will be using Myers-Briggs Types Indicator and classify into 16 different types.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list the packages that you need to run this project.

cd TwiP
cat requirements.txt

Installation

  1. Clone the repo
    git clone https://github.com/anirudhtulasi/TwiP.git
  2. Install required packages
    $ pip install -r requirements.txt

Usage

  1. Train the Model
    $ cd TwiP
    $ python3 train.py
  2. Run the Model
    $ python3 predict.py

For more examples, please refer to the Documentation

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Anirudh Tulasi - @AnirudhTulasi

Email : anirudhtulasi.x@gmail.com

Project Link: https://github.com/anirudhtulasi/Twip

About

Personality plays a vital role in todays world.This uses the Twitter REST API to mine tweets for personality identification. We will use n-grams and word vectors for the hashtags, emoticons and phrases using NLP techniques. We will train the machine to classify the personality types by using a Naive- Bayes Text Classifier and to accurately predi…

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published