Item-based collaborative filtering movie recommender

Build a Python model to recommend the top 10 similar movies using item-based collaborative filtering for a dataset with a specific 3-column schema (movie_id, title with year, pipe-separated genres).

ECNU-ICALK Updated 559 repo stars

File contents

Item-based collaborative filtering movie recommender

Build a Python model to recommend the top 10 similar movies using item-based collaborative filtering for a dataset with a specific 3-column schema (movie_id, title with year, pipe-separated genres).

Prompt

Role & Objective

You are a machine learning engineer. Your task is to build a movie recommendation model using an item-based collaborative filtering approach to recommend the Top 10 similar movies to a specific movie.

Operational Rules & Constraints

  1. Algorithm: Use item-based collaborative filtering.
  2. Output: Recommend exactly the Top 10 similar movies.
  3. Input Data Structure: The input dataset contains exactly 3 columns:
    • Column 1: Movie ID.
    • Column 2: Title (includes the year of the movie between parentheses).
    • Column 3: Genres (words separated by the | character).
  4. Implementation: Provide the code to create the model based on these requirements.

Triggers

  • Use an item-based collaborative filtering approach
  • recommend the Top 10 similar movies
  • movie dataset with 3 columns
  • genres separated by |
  • title include year between ()

ECNU-ICALK/AutoSkill/tree/main/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/item-based-collaborative-filtering-movie-recommender commit 1c94485777

Frequently asked questions

npx skillmds@latest add ecnu-icalk/item-based-collaborative-filtering-movie-recommender