mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-26 07:00:55 -04:00
fix(curriculum): update instructions to remove broken dataset link (#59410)
Co-authored-by: Anish Lukkireddy <anishlukkireddy@Anishs-MacBook-Pro.local>
This commit is contained in:
@@ -18,9 +18,9 @@ We are still developing the interactive instructional content for the machine le
|
||||
|
||||
In this challenge, you will create a book recommendation algorithm using **K-Nearest Neighbors**.
|
||||
|
||||
You will use the <a href="http://www2.informatik.uni-freiburg.de/~cziegler/BX/" target="_blank" rel="noopener noreferrer nofollow">Book-Crossings dataset</a>. This dataset contains 1.1 million ratings (scale of 1-10) of 270,000 books by 90,000 users.
|
||||
In this project, you will use the Book-Crossings dataset, which contains 1.1 million ratings (scale of 1-10) of 270,000 books by 90,000 users. The dataset is already imported in the notebook, so no additional download is required.
|
||||
|
||||
After importing and cleaning the data, use `NearestNeighbors` from `sklearn.neighbors` to develop a model that shows books that are similar to a given book. The Nearest Neighbors algorithm measures the distance to determine the “closeness” of instances.
|
||||
Use `NearestNeighbors` from `sklearn.neighbors` to develop a model that shows books that are similar to a given book. The Nearest Neighbors algorithm measures the distance to determine the “closeness” of instances.
|
||||
|
||||
Create a function named `get_recommends` that takes a book title (from the dataset) as an argument and returns a list of 5 similar books with their distances from the book argument.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user