RohitLearner / Book-Recommendation-Engine-using-KNN

Machine Learning with Python Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Book Recommendation Engine using KNN

This repository contains my solution approach from the FreeCodeCamp Machine Learning with Python Project - Book Recommendation Engine using KNN challenge. ( ⭐️ Star repo on GitHub β€” it helps! )

In this challenge, we will create a book recommendation algorithm using K-Nearest Neighbors.

You will use the Book-Crossings dataset. This dataset contains 1.1 million ratings (scale of 1-10) of 270,000 books by 90,000 users.

You can access the full project instructions and starter code on Google Colaboratory.

Create a copy of the notebook either in your own account or locally. Once you complete the project and it passes the test (included at that link), "HAVE FUN WHILE SOLVING IT". If you are submitting a Google Colaboratory link, make sure to turn on link sharing for "anyone with the link."

Code

All code section are available directly and the detailed description of the data can be found in colab.

The project needs the following header files for the implementation:

  1. import numpy as np
  2. import pandas as pd
  3. from scipy.sparse import csr_matrix
  4. from sklearn.neighbors import NearestNeighbors
  5. import matplotlib.pyplot as plt

To run the project, do the following steps:

  1. Dowload the repo.
  2. Install all the above mentioned libraries.
  3. python3 fcc_book_recommendation_knn.py
  4. Check if following output is present in the end.

You passed the challenge! πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰

Contributors

  • Rohit Kumar Singh

Feedback

Feel free to send us feedback on file an issue. Feature requests are always welcome. If you wish to contribute, please take a quick look at this colab.

Written with StackEdit.

About

Machine Learning with Python Projects

License:MIT License


Languages

Language:Jupyter Notebook 88.4%Language:Python 11.6%