- Hands-On Recommendation Systems with Python
- Rounak Banik
- 212字
- 2021-07-16 18:19:04
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Let's now implement the SVD filter using the surprise package."
A block of code is set as follows:
#Import SVD
from surprise import SVD
#Define the SVD algorithm object
svd = SVD()
#Evaluate the performance in terms of RMSE
evaluate(svd, data, measures=['RMSE'])
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
else:
#Default to a rating of 3.0 in the absence of any information
wmean_rating = 3.0
return wmean_rating
score(cf_user_wmean)
OUTPUT:
1.0174483808407588
Any command-line input or output is written as follows:
sudo pip3 install scikit-surprise
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "We see that the u.user file contains demographic information about our users, such as their age, sex, occupation, and zip_code."
- Hands-On Artificial Intelligence on Amazon Web Services
- 條碼技術及應用
- Hands-On Cybersecurity with Blockchain
- 計算機系統結構
- Implementing Oracle API Platform Cloud Service
- ESP8266 Home Automation Projects
- JavaScript典型應用與最佳實踐
- Learning C for Arduino
- 聊天機器人:入門、進階與實戰
- 電腦日常使用與維護322問
- 從零開始學Java Web開發
- Mastering Text Mining with R
- 傳感器與自動檢測
- 工業機器人入門實用教程
- Access 2007數據庫入門與實例應用金典