July 2018
Beginner to intermediate
146 pages
3h 39m
English
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 SVDfrom surprise import SVD#Define the SVD algorithm objectsvd = SVD()#Evaluate the performance in terms of RMSEevaluate(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 ...
Read now
Unlock full access