Skip to content

using machine learning content based algorithm to build book recommendation system

Notifications You must be signed in to change notification settings

lixx21/book-recommender-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dataset

        Download the dataset on Kaggle - Book Recommendation Dataset

image

Dataset Info

        There are several csv on that dataset:

  1. Book's lists dataset
  2. Book's users dataset
  3. Book's Ratings dataset

        Total of the dataset if you merge them is 1.149.780 rows and 12 columns but there are also several missing values and several duplicate book's title, therefore I handle it by remove them and I got 205.170 rows and 12 columns but In this case I only used 10.000 dataset because my computer can not handle more dataset, but you can used dataset as much as you want.

How to use REST API for Book's Recommendation System

  1. download the clean books dataset on books_data.csv
  2. download cosine similarity on cosine_similarity.csv
  3. download requirements.txt with pip install -r requirements.txt
  4. run python3 app.py
  5. Test on your postman with method POST and endpoint /books_recommendations
  6. Use key on your body as book_title and type your favorite's book title as value

You will get this result

image

image

About

using machine learning content based algorithm to build book recommendation system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published