https://github.com/nredick/mais-hacks-2020
https://github.com/nredick/mais-hacks-2020
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nredick/mais-hacks-2020
- Owner: nredick
- Created: 2022-01-19T19:01:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T12:16:01.000Z (almost 3 years ago)
- Last Synced: 2025-01-07T00:37:26.960Z (10 months ago)
- Language: Python
- Size: 54.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MBTI Personality Classifier
[](https://travis-ci.org/Nathalie-Elinor-Abu/mais-hacks-2020)[Try it here!](http://159.203.33.173:5000)
*Winner of best overall hack for the MAIS 2020 Hackathon!*
This project was built for [MAIS Hacks 2020](https://maishacks.com/), a 24 HR virtual AI hackathon. Our goal was to build a simple machine learning model to apply (MBTI) Myers-Briggs Type Indicators to Twitter users based on tweet data gathered from the [Twitter API](https://developer.twitter.com/en/docs).
Project made with caffeine and tears by [Nathalie](https://github.com/nredick), [Elinor](https://github.com/elinorpd) and [Abu](https://github.com/abubakardaud).
## Project Description
The dataset used to train the model was the [(MBTI) Myers-Briggs Personality Type Dataset](https://www.kaggle.com/datasnaek/mbti-type). The model makes a prediction based on data gathered from the users tweets and classifies them into one of the 16 MBTI types. The webapp is built on [Flask](https://flask.palletsprojects.com/en/1.1.x/), [Bootstrap](https://getbootstrap.com/).
## Repository Organization
This repository contains the scripts used preprocess the data, train the model, and deploy the webapp.
- data/
- Data in csv format used to train the model.- model/
- Contains Python files for the Twitter API, preprocessing data, and the script to build the model.- static/
- CSS scripts.- templates/
- HTML for the landing pages.- webscraping/
- DataCollection/- ./
- Files used to deploy the app and a requirements.txt file.