This project aims to predict the psychological traits of a person on the basis of his/her social media posts. It predicts the following traits:
- EXT - Extraversion
- OPN - Openness
- NEU - Neuorticism
- CON - Conscientiousness
- Agreeableness
We have trained the random forest algorithm in this colab notebook, feel free to check it out.
The portal is primarily a django based application, and to set it up we require to have python environment with django and other project dependencies installed. Though one can work with the project without an virtual environment, it is recommended to use one so as to avoid conflicts with other projects.
-
Make sure that you have
Python 3
,python-3-devel
,gcc
,virtualenv
, andpip
installed. -
Clone the repository
$ git clone https://github.com/sanjay-thiyagarajan/personally.git $ cd personally
-
Create a python 3 virtualenv, and activate the environment.
$ virtualenv -p python3 $ source bin/activate
-
Install the project dependencies
$ pip install -r requirements.txt
You have now successfully set up the project on your environment.
From now when you start your work, run source bin/activate
inside the project repository and you can work with the django application as usual -
python manage.py migrate
- set up databasepython manage.py createsuperuser
- create admin userpython manage.py runserver
- run the project locally