Code Monkey home page Code Monkey logo

seunshix / recommendation_systems Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.66 MB

Performed EDA, created user-article matrix, calculated similarity using dot product, implemented Rank-Based, User-User CF, Content-Based, and Matrix Factorization, evaluated model with precision, recall, and F1-score.

HTML 79.74% Jupyter Notebook 19.89% Python 0.37%
collaborative-filtering content-based-recommendation matrix-factorization recommender-system user-user-filtering

recommendation_systems's Introduction

In the e-commerce industry, personalized recommendations can help customers find products they are interested in and improve their overall shopping experience. IBM wanted to develop a recommendation system using their Watson Studio dataset and Collaborative Filtering algorithm to suggest products to users based on their browsing and purchase history.

The task of this project was to build a recommendation system that would suggest products to users based on their interactions with articles on the IBM platform. The recommendation system needed to be able to provide personalized recommendations to users using collaborative filtering or rank-based methods for existing users and content-based methods for new users.

To achieve this task, the project performed exploratory data analysis to gain insights into the data. A user-article interaction matrix was created to represent the interactions between users and articles, and the similarity between articles was calculated using the dot product to create an article similarity matrix. The project then implemented different recommendation systems, such as rank-based recommendations, user-user based collaborative filtering, content-based recommendations, and matrix factorization. The performance of the model was evaluated using precision, recall, and F1-score metrics.

The developed recommendation system was able to provide personalized recommendations to users based on their interactions with articles on the IBM platform. Collaborative filtering and rank-based methods were used for existing users, while content-based methods were used for new users. The project's evaluation using precision, recall, and F1-score metrics showed that the model performed well, indicating that the system can help improve customer satisfaction and increase sales for IBM's e-commerce clients.

Extra : A matrix decomposition is performed on the user-article matrix to better predict new articles a user might be interested in.

Libraries and Installations

The project is implemented using Python 3.x and the following libraries are used:

  • nltk
  • numpy
  • pandas
  • re
  • scikit-learn To run this project, you need to have these libraries installed on your system. If not, you can install them by running the following command in your terminal/command prompt:
    pip install nltk numpy pandas re scikit-learn

Data

The dataset used in this project is a subset of real data from the IBM Watson Studio platform. The data contains information on user interactions with articles, including article titles and article IDs.

Conclusion

This project showcases the implementation of a basic recommender system. The system uses a combination of different recommendation techniques to provide personalized recommendations to each user. The project can be further improved by incorporating additional features, such as article content or user profiles, and using more advanced algorithms.

Check out my Medium post about the project here

recommendation_systems's People

Contributors

seunshix avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.