- 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."
- Mobile DevOps
- Expert AWS Development
- Supervised Machine Learning with Python
- 統(tǒng)計(jì)策略搜索強(qiáng)化學(xué)習(xí)方法及應(yīng)用
- 21天學(xué)通Java Web開(kāi)發(fā)
- Windows環(huán)境下32位匯編語(yǔ)言程序設(shè)計(jì)
- Photoshop CS3圖層、通道、蒙版深度剖析寶典
- 內(nèi)模控制及其應(yīng)用
- DevOps Bootcamp
- 電腦上網(wǎng)輕松入門
- 網(wǎng)絡(luò)服務(wù)器搭建與管理
- 簡(jiǎn)明學(xué)中文版Photoshop
- 基于Quartus Ⅱ的數(shù)字系統(tǒng)Verilog HDL設(shè)計(jì)實(shí)例詳解
- Spark Streaming實(shí)時(shí)流式大數(shù)據(jù)處理實(shí)戰(zhàn)
- Flash CS3動(dòng)畫制作融會(huì)貫通