GithubHelp home page GithubHelp logo

dayfundora / personality-type Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 7.0 7.33 MB

Recognition of Persomnality Types from Facebook status using Machine Learning

Python 34.20% CSS 7.17% JavaScript 52.34% HTML 6.29%
personality-traits personality-predicting python machine-learning machine-learning-algorithms big5 big5-ocean-traits liwc liwc-dictionaries logistic-regression-classifier

personality-type's Introduction

Personality Types Predictor

Personality is a fundamental basis of human behavior, it affects the interaction and preferences of an individual. Social networks have become a prominent platform for opinions and thoughts, this indicated that there is a strong correlation between the personality of users and the way they behave on social networks.

In this work we explore the use of Machine Learning techniques to infer personality traits of a user from Facebook status updates.

For personality recognition, the models were trained for each of the five personality traits, given by the Big-5 personality classification, using LIWC (Linguistic Inquiry and Word Count) characteristics and were compared different classification methods, such as Logistic Regression, RandomForestClassifier, Mul tinomialNB, GradientBoostingClassifier, SVC, LinearRegression, Ridge,SGDRegressor; the performance of the systems was measured using precision.

Requeriments

Run the following commands if you don't have them already:

pip install streamlit
pip install nltk
pip install Flask
pip install bson
pip install scikit-learn
pip install numpy
pip install os-sys
pip install scipy
pip install pandas
pip install matplotlib
pip install liwc
pip install selenium

To install it all:

pip install requeriments.txt

Documentation

For a more in-depth documentation read here

Download

If you want to download this project to work on it, you will need the models for each aspect of the personality, both for LIWC and TFIDF.

AGR_categorical_model_liwc.pkl
AGR_categorical_model_tfidf.pkl
CON_categorical_model_liwc.pkl
CON_categorical_model_tfidf.pkl
EXT_categorical_model_liwc.pkl
EXT_categorical_model_tfidf.pkl
NEU_categorical_model_liwc.pkl
NEU_categorical_model_tfidf.pkl
OPN_categorical_model_liwc.pkl
OPN_categorical_model_tfidf.pkl

You can send me an email here or write me here

personality-type's People

Contributors

dayfundora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.