Skip to content

ToonSuggest - Animation Movie Recommender System v1.0

Β Published:Β 30 min read

thumbnail

ToonSuggest is a simple, lightweight, and interactive movie recommender system designed for animation and cartoon titles using IMDb datasets. Built using Python and Tkinter, it allows you to train a recommendation model and get suggestions for similar titles based on textual similarity and user ratings.

Table of contents

Open Table of contents

Actions

  1. Download πŸ—ƒοΈ Windows EXE File and πŸ—ƒοΈ Model PKL File ~v1.0

  2. Open GitHub Repository source for this project.

πŸ“Œ Features

πŸ“Œ Getting Started

1. Clone the Repository

git clone https://github.com/s-m-quadri/toon-suggest.git
cd toon-suggest

2. Install Dependencies

Install the required Python libraries using:

pip install -r requirements.txt

3. Run the App

python main.py

Or download the pre-built .exe from the Releases section to run without Python.

πŸ“Œ How It Works

  1. Train the Model

    • Launch the training window and select:

      • title.basics.tsv.gz
      • title.ratings.tsv.gz
    • Click β€œStart Training” to preprocess and vectorize the data.

    • A trained model.pkl file is generated and saved.

  2. Get Recommendations

    • Launch the main window.
    • Load the trained model.
    • Enter the name of a movie and click β€œGet Recommendations”.

πŸ“Œ Project Structure

ToonSuggest/
β”œβ”€β”€ main.py                  # Entry point for the GUI application
β”œβ”€β”€ model.pkl                # Sample trained model (for demo/testing)
β”œβ”€β”€ setup.spec               # PyInstaller config for .exe build
β”œβ”€β”€ requirements.txt         # Python dependencies
└── src/
    β”œβ”€β”€ gui_home.py          # Main recommendation GUI
    β”œβ”€β”€ gui_train.py         # Model training GUI
    β”œβ”€β”€ recommend.py         # TF-IDF recommendation logic
    └── train.py             # Data loading, training, and saving logic

πŸ“Œ Executable Build

To create a standalone .exe:

pyinstaller --onefile --noconsole setup.spec

Or use the ready-built binary available in Releases.

πŸ“Œ IMDb Dataset Download

ToonSuggest requires two official IMDb dataset files:

  1. title.basics.tsv.gz – Contains title names, genres, and years
  2. title.ratings.tsv.gz – Contains user ratings and number of votes

Download both from the official IMDb dataset portal:

πŸ‘‰ https://datasets.imdbws.com/

Steps:

Note: IMDb datasets are periodically updated, so you may retrain your model when new data becomes available.

πŸ“Œ Walkthrough: How to Use the App

Home Window (main.py β†’ gui_home.py)

This is the main user interface for movie recommendations.

The Get Recommendations button is only enabled when a valid model is loaded.

Training Window (gui_train.py)

Accessed via the β€œTrain Model” button on the Home screen.

During training, all inputs are disabled to avoid interruptions.

πŸ“Œ License

This project is licensed under the GNU General Public License.

πŸ“Œ Contact

For bug reports or feature requests, please contact: dev.smq@gmail.com


Next Project
Flow-Optix - Conceptual Optimization of SDN Traffic Using Multi-Strategy Flow Routing v1.2.0