Giter Club home page Giter Club logo

sanjeev-kumar78 / book-recommendation-system Goto Github PK

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

This is a book recommendation system based on the book rating data from GoodReads_100k dataset. The dataset contains 100k book.

Home Page: https://recommendation-book.streamlit.app/

License: MIT License

Python 33.32% Jupyter Notebook 66.68%
cosine-similarity cosine-similarity-scores numpy pandas python scikit-learn streamlit tf-idf-vectorizer

book-recommendation-system's Introduction

Book Recommendation System

Introduction

This is a book recommendation system based on the book rating data from GoodReads_100k dataset. The dataset contains 100k book.

Data Cleaning & Model Training

recommendation_data_cleaning.ipynb is used to clean the data. The data is cleaned by removing the books with less than 50 ratings and users with less than 50 ratings. After running .ipynb file, It works TF-IDF Vectorizer and Cosine Similarity to find the similarity between books. The model is saved as cosine_sim_desc.pkl in model folder and final_data.csv also in model folder it contains the data after cleaning (25151 Books).

Web App

app.py is used to run the web app. The web app is created using Streamlit.

Technologies Used

  1. Python
  2. Pandas
  3. Numpy
  4. Scikit-learn
  5. Streamlit

How to run the app

  1. Clone the repository
  2. Install the requirements using pip install -r requirements.txt
  3. Download the dataset from GoodReads_100k and place it in the dataset folder.
  4. Run recommendation_data_cleaning.ipynb to clean the data and train the model.
  5. Run app.py using streamlit run app.py It will open the web app in the browser.

References

  1. GoodReads_100k
  2. Streamlit
  3. Cosine Similarity
  4. TF-IDF
  5. Scikit-learn

book-recommendation-system's People

Contributors

sanjeev-kumar78 avatar

Stargazers

 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.