- Large Scale Machine Learning with Python
- Bastiaan Sjardin Luca Massaron Alberto Boschetti
- 259字
- 2021-07-14 10:39:46
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "When inspecting the linear model, first check the coef_
attribute."
A block of code is set as follows:
from sklearn import datasets iris = datasets.load_iris()
Since we will be using Jupyter Notebooks along most of the examples, expect to have always an input (marked as In:
) and often an output (marked Out:
) from the cell containing the block of code. On your computer you have just to input the code after the In:
and check if results correspond to the Out:
content:
In: clf.fit(X, y) Out: SVC(C=1.0, cache_size=200, class_weight=None, coef0=0.0, degree=3, gamma=0.0, kernel='rbf', max_iter=-1, probability=False, random_state=None, shrinking=True, tol=0.001, verbose=False)
When a command should be given in the terminal command line, you'll find the command with the prefix $>
, otherwise, if it's for the Python REPL it will be preceded by >>>
:
$>python >>> import sys >>> print sys.version_info
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "As a rule, you just have to type the code after In: in your cells and run it."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- Instant uTorrent
- 嵌入式技術基礎與實踐(第5版)
- 精選單片機設計與制作30例(第2版)
- 嵌入式系統設計教程
- Svelte 3 Up and Running
- 固態存儲:原理、架構與數據安全
- 筆記本電腦應用技巧
- 計算機組裝維修與外設配置(高等職業院校教改示范教材·計算機系列)
- 龍芯自主可信計算及應用
- LPC1100系列處理器原理及應用
- Hands-On Deep Learning for Images with TensorFlow
- Mastering Quantum Computing with IBM QX
- Learning Less.js
- 筆記本電腦現場維修實錄
- 施耐德M241/251可編程序控制器應用技術