Coder Social home page Coder Social logo

gnsaddy / bookrecommendationsystem Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 2.0 18.48 MB

Python 25.40% Jupyter Notebook 74.60%
machine-learning statistics knn-algorithm pearson-correlation-coefficient euclidean-distances cosine-similarity python3 recommendation-system jypyternotebook anaconda-distribution

bookrecommendationsystem's Introduction

library-book-recommendation-system

Book-Recommendation---Collaborative-Filtering

Book Recommendation System using SVD and KNN for User/Item based collaborative filtering

Running the Book Recommendation

The program recommends books for a particular User based on CF using singular-value decomposition (SVD) algorithm --SVD and recommends books related to a particular book based on CF using k-Nearest Neighbors algorithm --KNN. Both the algorithms are run on explicit user ratings.

Example

For recommendations for a particular user (by default SVD latent factor is set to 50). Enter the user ID within the displayed range when prompted. The output prints the books already rated by the user and then the top 10 recommendations.

python main.py --SVD

For recommendations for a particular Book (by default K-Neighbors is set to 10). Enter the book title when prompted. (Choose Book Title from the ./Book/Books(explicit).csv file) The output prints the Top 10 recommended books.

python main.py --KNN

If no arguements were passed, the top 10 books with mean highest ratings and top 10 books with the high ratings count.

python main.py

bookrecommendationsystem's People

Contributors

gnsaddy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.