- 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.
推薦閱讀
- Spring Cloud Alibaba核心技術(shù)與實(shí)戰(zhàn)案例
- 計(jì)算機(jī)圖形學(xué)編程(使用OpenGL和C++)(第2版)
- 自己動(dòng)手實(shí)現(xiàn)Lua:虛擬機(jī)、編譯器和標(biāo)準(zhǔn)庫(kù)
- Oracle Database In-Memory(架構(gòu)與實(shí)踐)
- 新編Premiere Pro CC從入門(mén)到精通
- 青少年P(guān)ython編程入門(mén)
- Apache Kafka Quick Start Guide
- Python之光:Python編程入門(mén)與實(shí)戰(zhàn)
- Python Essentials
- 并行編程方法與優(yōu)化實(shí)踐
- 寫(xiě)給大家看的Midjourney設(shè)計(jì)書(shū)
- 創(chuàng)意UI Photoshop玩轉(zhuǎn)移動(dòng)UI設(shè)計(jì)
- Exploring SE for Android
- Learning Concurrency in Python
- Java EE項(xiàng)目應(yīng)用開(kāi)發(fā)