
上QQ阅读APP看书,第一时间看更新
Conventions used
There are a number of text conventions used throughout this book:
A block of code is set as follows, with # used for comment lines:
from sklearn.cluster import Method
clus = Method(args*)
# fit to input data
clus.fit(X_input)
# get cluster assignments of X_input
X_assigned = clus.labels_
Any command-line input or output is written as follows:
(base) $ spyder
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: "Select System info from the Administration panel."
Warnings or important notes appear like this.
Tips and tricks appear like this.