- 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."
- 構(gòu)建高質(zhì)量的C#代碼
- Spark編程基礎(chǔ)(Scala版)
- Cloud Analytics with Microsoft Azure
- 機(jī)器學(xué)習(xí)與大數(shù)據(jù)技術(shù)
- 最后一個(gè)人類
- Maya極速引擎:材質(zhì)篇
- 網(wǎng)絡(luò)綜合布線設(shè)計(jì)與施工技術(shù)
- 我也能做CTO之程序員職業(yè)規(guī)劃
- AI的25種可能
- 從零開始學(xué)JavaScript
- Drupal高手建站技術(shù)手冊
- 工業(yè)機(jī)器人集成應(yīng)用
- 貫通Java Web輕量級應(yīng)用開發(fā)
- Oracle 11g Anti-hacker's Cookbook
- 單片機(jī)C51應(yīng)用技術(shù)