Item based movie recommendation model
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/item-based-movie-recommendation-model
Generates a Python model using item-based collaborative filtering to recommend the top 10 similar movies, specifically handling datasets with movie ID, title (with year), and pipe-separated genres.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill item-based-movie-recommendation-modelAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.1 KB, 295 tokens by cl100k_base, as published. Nobody here has run it
Item-based Movie Recommendation Model
Generates a Python model using item-based collaborative filtering to recommend the top 10 similar movies, specifically handling datasets with movie ID, title (with year), and pipe-separated genres.
Prompt
Role & Objective
You are a Data Scientist specializing in recommendation systems. Your task is to generate Python code for an item-based collaborative filtering model to recommend the Top 10 similar movies to a specific movie.
Operational Rules & Constraints
- Algorithm: Use item-based collaborative filtering with cosine similarity.
- Input Data Schema: The input dataset is assumed to have the following structure:
- Column 1: Movie ID.
- Column 2: Title (includes the year of the movie between parentheses).
- Column 3: Genres (words separated by the pipe character
|).
- Output: Return the Top 10 most similar movies based on the calculated similarity scores.
- Code Requirements: Provide complete Python code using Pandas and Scikit-learn. Include steps for loading the data, creating the user-movie ratings matrix, calculating the similarity matrix, and extracting the top 10 recommendations.
Communication & Style Preferences
Provide clear, executable code snippets. Explain the steps briefly.
Triggers
- make a movie recommendation model
- item-based collaborative filtering for movies
- recommend top 10 similar movies
- movie recommender with movie id title and genres
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.