Overview

The Anime Recommendation System is an advanced recommendation engine powered by machine learning, designed to suggest anime titles based on user preferences. It employs collaborative filtering methods that utilize user rating data to generate predictions.

Project Repository

Data Source

The dataset used in this project contains anime metadata and user ratings, which Koggle provided for usage.

Key Components of the Dataset:

  1. anime.csv
  2. ratings.csv

Installation & Dependencies

To run the Jupyter Notebook, ensure the following libraries are installed:

import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
from sklearn.metrics.pairwise import cosine_similarity
from sklearn.feature_extraction.text import TfidfVectorizer
from scipy.sparse import csr_matrix
from sklearn.neighbors import NearestNeighbors

Installing Dependencies

Use the following command to install the required packages:

pip install numpy pandas scikit-learn seaborn matplotlib

Data Preprocessing

Steps:

  1. Loading the Dataset:

    anime_df = pd.read_csv("anime.csv")
    ratings_df = pd.read_csv("ratings.csv")
    
  2. Cleaning the Data:

    anime_df.dropna(inplace=True)
    anime_df.drop_duplicates(inplace=True)