- 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.
推薦閱讀
- Facebook Application Development with Graph API Cookbook
- Learning NServiceBus(Second Edition)
- TypeScript Blueprints
- Photoshop智能手機(jī)APP UI設(shè)計之道
- Learn Scala Programming
- Full-Stack React Projects
- Qlik Sense? Cookbook
- Instant Apache Camel Messaging System
- Flask開發(fā)Web搜索引擎入門與實戰(zhàn)
- HTML5 WebSocket權(quán)威指南
- Kohana 3.0 Beginner's Guide
- 生成藝術(shù):Processing視覺創(chuàng)意入門
- Web前端開發(fā)全程實戰(zhàn):HTML5+CSS3+JavaScript+jQuery+Bootstrap
- OpenCV:Computer Vision Projects with Python
- Learning Predictive Analytics with R