Skip to content

perashanid/star-predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Predictor

RL-based rating prediction system that learns your taste in movies, anime, and series.

Features

  • Two-phase learning: calibration and active prediction
  • Hybrid RL agent combining DQN and LinUCB algorithms
  • Real-time rating predictions with confidence scores
  • Interactive learning from user feedback
  • Comprehensive taste profile analysis by genre and theme
  • Learning curve visualization showing prediction improvement
  • Synthetic dataset of movies, anime, and series with rich metadata
  • Model persistence for continued learning across sessions
  • Prediction history tracking and analytics dashboard

Tech Stack

  • Streamlit for interactive web interface
  • PyTorch for Deep Q-Network implementation
  • NumPy for numerical computations and feature engineering
  • Scikit-learn for preprocessing and utilities
  • Plotly for interactive visualizations
  • Custom LinUCB implementation for contextual bandits

Installation

pip install -r requirements.txt

Usage

Launch the interactive application:

streamlit run app.py

The application has three main phases:

  1. Calibration: Rate 10 initial items to build your taste profile
  2. Prediction: AI predicts your ratings before you reveal them
  3. Dashboard: View learning progress, accuracy metrics, and taste analysis

Development

The hybrid RL agent combines two approaches:

  • DQN (Deep Q-Network): Neural network learning state-action values
  • LinUCB (Linear Upper Confidence Bound): Contextual bandit with uncertainty estimation

The agent dynamically weights predictions based on confidence and performance. Features include genre preferences, tag affinities, year, type, and historical rating patterns.

Extend by adding new feature extractors in feature_engine.py or implementing alternative RL algorithms in rl_agent.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages