Skip to content

Senimtra/robo-reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

66 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– RoboReviews

Overview

This repository contains the source code, documentation, and deliverables for a Video Game & Reviews ML/AI project. The goal is to process and analyze video game data and reviews. It performs sentiment classification, clusters game genres, and generates summaries to recommend top games.

๐ŸŽฎ Features

  1. ๐Ÿ” Sentiment Analysis:

    • Classifies reviews as Positive, Neutral, or Negative.
    • Fine-tuned DistilBERT ensures high accuracy tailored to the dataset.
  2. ๐Ÿ—‚๏ธ Category Clustering:

    • Groups games into broader genre categories, such as Combat-Focused Gameplay, etc..
    • Enables better data organization and visualization.
  3. ๐Ÿ“ Review Summarization:

    • Generates blog-like articles summarizing game features.
    • Highlights the top three games per cluster and reasons why people like/dislike them.
  4. ๐ŸŒ Interactive Website:

    • Presents all analyses in an intuitive, user-friendly interface.
    • Allows live sentiment processing of user review texts.

๐Ÿ“Š Datasets

๐Ÿ—๏ธ Project Structure

root/
โ”œโ”€โ”€ core/               # Core Django app
โ”‚   โ””โ”€โ”€ templates/      # HTML index view
โ”œโ”€โ”€ data/               # Raw and processed datasets
โ”œโ”€โ”€ models/             # Saved and fine-tuned models
โ”‚   โ”œโ”€โ”€ clustering/     # pyLDAvis visualization
โ”‚   โ””โ”€โ”€ sentiment/      # DistilBERT files
โ”œโ”€โ”€ notebooks/          # Jupyter notebooks for model development
โ”œโ”€โ”€ scripts/            # Python scripts for feeding the database
โ”œโ”€โ”€ served_model/       # Flask app serving TinyBERT
โ”œโ”€โ”€ static/             # Static files (CSS, JS, images)
โ”œโ”€โ”€ db.sqlite3          # Django SQLite database
โ”œโ”€โ”€ manage.py           # Django CLI utility script
โ”œโ”€โ”€ README.md           # Project documentation
โ””โ”€โ”€ requirements.txt    # Python dependencies

โš™๏ธ How It Works

  1. ๐Ÿงน Preprocessing:

    • Text Cleaning: Removes special characters and standardizes text.
    • Data Cleaning: Drops unnecessary columns and handles missing values.
    • Enrichment: Adds genres via the OpenAI API.
    • Balancing: Applies upsampling and downsampling.
    • Normalization: Performs lemmatization and stopword removal.
    • Tokenization & Vectorization: Prepares text for modeling.
  2. ๐Ÿ“ˆ Model Pipeline:

    • Sentiment Classification: Uses fine-tuned DistilBERT for sentiment analysis.
    • Topic Modeling: Employs LDA to uncover hidden topics and group similar game genres.
    • Summarization: Utilizes the OpenAI API for concise summaries of game pros and cons.
  3. ๐Ÿ“Š Evaluation:

    • Metrics: Evaluates model performance using accuracy, precision, recall, and F1-score.
    • Visualization: Includes confusion matrix, word clouds, and t-SNE plot.
    • Analysis: Displays example predictions and enables interactive topic exploration with pyLDAvis.
  4. ๐Ÿš€ Deployment:

    • Web Interface: Built with Django.
    • Model Serving: Sentiment model served via Flask.
    • Hosting: Entire application hosted on Heroku.

๐Ÿ“ฆ Deliverables

  1. ๐Ÿ“œ Source Code:

    • Organized Python scripts and Jupyter notebooks.
  2. ๐ŸŒ Website:

  3. ๐Ÿ“Š Evaluation Metrics:

    • Visualizations: Plots (images/notebooks) and LDA visualization rendered as HTML.

๐Ÿ’ก Usage

  • ๐Ÿ’ฌ Sentiment Predictions: Users can test written texts for sentiment.
  • ๐Ÿ“Š Review Analysis: View categorized and summarized results.

๐Ÿšง Future Enhancements

  • Extend datasets for broader coverage.
  • Fine-tune and host LLM for game summarization.

๐Ÿ™Œ Acknowledgments

  • ๐Ÿ“š Datasets from UCSD.
  • ๐Ÿ› ๏ธ Pretrained models from Hugging Face.

About

AI-powered video game review analysis using sentiment classification, genre clustering, and summary generation. ๐ŸŽฎ๐Ÿ“ˆโœจ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors