2021-05-05 10:13:49 -07:00
|
|
|
|
---
|
|
|
|
|
id: 5e46f8e3ac417301a38fb92f
|
2021-07-16 11:03:16 +05:30
|
|
|
|
title: 基於 KNN 的圖書推薦引擎
|
2021-05-05 10:13:49 -07:00
|
|
|
|
challengeType: 10
|
2021-07-16 11:03:16 +05:30
|
|
|
|
forumTopicId: 462378
|
2021-05-05 10:13:49 -07:00
|
|
|
|
dashedName: book-recommendation-engine-using-knn
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# --description--
|
|
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
|
在這個挑戰中,你將使用 K-近鄰算法創建一個書籍推薦算法。
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
|
你將使用 Book-Crossings 數據集。 該數據集包括 90,000 名用戶對 270,000 冊書籍的 110 萬份評分(評分從 1至 10)。
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
|
你可以[在 Replit 上查看整個項目的具體描述和初始代碼](https://colab.research.google.com/github/freeCodeCamp/boilerplate-book-recommendation-engine/blob/master/fcc_book_recommendation_knn.ipynb)。
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
|
進入該鏈接後,在你自己的賬戶或本地創建一個筆記本的副本。 一旦你完成項目並通過鏈接中的測試,請在下面提交你的項目鏈接。 如果你提交的是 Google Colaboratory 的鏈接,請確保打開鏈接共享時選擇 “anyone with the link”。
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
|
我們仍在開發機器學習課程的交互式課程部分。 現在,你可以通過這個認證視頻挑戰。 你可能還需要尋找額外的學習資源,類似於你在現實世界項目上所做的工作。
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
|
|
|
|
# --hints--
|
|
|
|
|
|
2021-07-16 11:03:16 +05:30
|
|
|
|
它應該通過所有的 Python 測試。
|
2021-05-05 10:13:49 -07:00
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# --solutions--
|
|
|
|
|
|
|
|
|
|
```py
|
|
|
|
|
# Python challenges don't need solutions,
|
|
|
|
|
# because they would need to be tested against a full working project.
|
|
|
|
|
# Please check our contributing guidelines to learn more.
|
|
|
|
|
```
|