Skip to content

This repository contains a recommendation system implemented using the Apriori algorithm for frequent itemset mining and association rule generation. The recommendation system aims to suggest relevant products to users based on their past purchase history.

Notifications You must be signed in to change notification settings

Ubeydkhoiri/recommender-system-using-apriori

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recommendation System using Apriori Algorithm

Overview

This project implements a recommendation system that employs two main algorithms: the Apriori algorithm for frequent itemset mining and association rule generation, and collaborative filtering for personalized recommendations. By combining these approaches, the system aims to provide accurate and relevant product recommendations to users based on their past interactions and preferences.

Introduction

Objective

The goal of this recommendation system is to enhance user experience and engagement by suggesting products that align with their interests and past purchase history.

Algorithms Used

  • Collaborative Filtering: Utilized to provide personalized recommendations by analyzing user-item interactions and finding similarities between users or items.
  • Apriori Algorithm: Used for mining frequent itemsets from transaction data and generating association rules. This helps identify patterns in user behavior and product co-occurrences.

Dataset

The dataset used in this project was generated manually. It's essential to note that manual generation may introduce biases into the data, potentially affecting the recommendation results. Careful consideration should be given to the interpretation and application of the recommendations generated by this system.

Installation

To set up the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Ubeydkhoiri/recommender-system-using-apriori.git
    
    # move to the directory
    cd recommender-system-using-apriori
  2. Create your virtual environtment:

    python -m venv venv_name
    
    # activate your virtual envirotnment
    venv_name\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run the recommendation system:

    streamlit run app.py

Result Example

Below is an example of the recommendation system's output after running app.py:

Result Example

About

This repository contains a recommendation system implemented using the Apriori algorithm for frequent itemset mining and association rule generation. The recommendation system aims to suggest relevant products to users based on their past purchase history.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published