- Test-Driven Machine Learning
- Justin Bozonier
- 150字
- 2021-07-30 10:19:59
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: "Notice that in my test, I instantiate a NumberGuesser
object."
A block of code is set as follows:
def given_no_information_when_asked_to_guess_test(): number_guesser = NumberGuesser() result = number_guesser.guess() assert result is None, "Then it should provide no result."
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
for the_class, trained_observations in self._classifications.items():
if len(trained_observations) <= 1:
return None
probability_of_observation_given_class[the_class] = self._probability_given_class(trained_observations, observation)
[default]
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
推薦閱讀
- Advanced Quantitative Finance with C++
- 機(jī)器學(xué)習(xí)系統(tǒng):設(shè)計(jì)和實(shí)現(xiàn)
- C語(yǔ)言程序設(shè)計(jì)(第3版)
- Azure IoT Development Cookbook
- Python語(yǔ)言程序設(shè)計(jì)
- WSO2 Developer’s Guide
- JSP開(kāi)發(fā)案例教程
- JS全書(shū):JavaScript Web前端開(kāi)發(fā)指南
- Python貝葉斯分析(第2版)
- Mastering KnockoutJS
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)習(xí)題解答與上機(jī)指導(dǎo)(第三版)
- 微服務(wù)從小白到專(zhuān)家:Spring Cloud和Kubernetes實(shí)戰(zhàn)
- Unity 2018 Augmented Reality Projects
- Visual Basic程序設(shè)計(jì)(第三版)
- SQL Server 2016 從入門(mén)到實(shí)戰(zhàn)(視頻教學(xué)版)