Git Product home page Git Product logo

aita-analysis-tool's Introduction

Morality in the Digital Age: Predictive Modelling on AITA Subreddit Posts

Project Team 5's Submission for CS5246, taken in AY23/24 S2 at the National University of Singapore.

Objectives

The "Am I the A******?" (AITA) subreddit provides a rich source of real-world scenarios where individuals seek moral guidance from an online community regarding their behaviour. In this project, we aim to develop a predictive model to anticipate the likely moral judgement (e.g., "You’re the A******" or "Not the A******") of a given situation based on the text of AITA subreddit posts.

The primary objective of this project is to build a predictive model capable of discerning the moral judgement associated with AITA subreddit posts. By analysing the textual content of these posts, our model will strive to accurately predict whether the individual in the scenario is perceived as acting morally or immorally by the community.

Dataset Files :

Model Experimentation

Our systematic exploration of diverse modelling approaches, encompassing both traditional machine learning algorithms and cutting-edge deep learning architectures includes :

  • Traditional ML: Deployed classical machine learning algorithms such as SVM, Naive Bayes, KNN, or decision trees for classification. Data preprocessing steps include stopword removal, bag-of-words representation or TF-IDF.
  • Ensemble Learning: Using a mix of traditional ML + rule-based approaches to create an Ensemble model.
  • Recurrent and Convolutional Neural Networks: Bi-LSTMs, CNNs to capture sequential dependencies in text data and perform classification.
  • Transformer-based Models: A fine-tuned BERT model.

Members

Installation Instructions

  1. Set up an empty folder and clone the repository into your folder
git clone https://github.com/vennietweek/aita-analysis-tool.git
  1. Initialise virtual environment in the project root folder:
python -m venv venv
  1. Activate the virtual environment:
source venv/bin/activate
  1. Upgrade pip:
pip install --upgrade pip setuptools wheel
  1. Install project dependencies:
pip install -r requirements.txt

aita-analysis-tool's People

Contributors

jeanong2 avatar vennietweek avatar lmngxn 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.