Coder Social home page Coder Social logo

cchandel-dev / youtube-group-personality-analysis-tool Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 121.57 MB

Measuring the "Group Personalities" of Internet communities along the MBTI scale using four different NLP ML models to classify comments along all 4 axis's. Used Google API, NLP ML techniques in a Flask environment.

License: MIT License

Python 34.08% CSS 10.23% JavaScript 8.75% HTML 46.93%
flask html-css-javascript mbti-personality nlp-machine-learning google-api

youtube-group-personality-analysis-tool's Introduction

MBTI-Analysis

The Internet is a vibrant landscape which hosts many subcultures, ideologies and schools of thought. I became interested in learning about whether or not these communities have "Group Personalities" because individuals self-select for communities based on personality type. One commonly used metric for measuring personality is the MBTI personality scale. Using four different NLP models - one for each of the four axis's of the MBTI scale - we can now use this free tool to analyze the top 100 comments for any input YouTube video with visible comments. The top 100 comments are grabbed using the Youtube API (owned by Google) and they are all classified by all four of these models and this data is aggregated to deliver a general breakdown of the "group personality" associated with a video. This is a tool that can be used to generate one point of data in measuring the "group personality" of any Internet Subculture with a presence on YouTube, more work is needed to generate a more detailed and data rich view of Internet Community.

In the example I show below I am grabbing the top 100 comments from Harvard's famous CS50 โ€“ Full Computer Science University Course. The results that were obtained are shown in the gif below and reveal a group personality that leans towards INTP.

Interestingly I asked OpenAI a follow-up question and got the following result, note that it actually points to Computer Programmers!

To run this program follow these steps.

1. clone this repo locally and enter the directory
2. open up your terminal in this directory
3. create a python virtual environment and install all of the modules listed in requirements.txt
3. run the following commands one at a time in your terminal to set up the flask server
      set FLASK_APP = app.py
      set FLASK_ENV = development
      flask run
4. go to your choice of web browser and enter http://127.0.0.1:5000/

In developing this program - four NLP ML models were used. The training workflow for these models is described visually below - but the associated not included in the code within this repository.

youtube-group-personality-analysis-tool's People

Contributors

cchandel-dev 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.