Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and X (formerly Twitter) handles.
Here is an example: “When the experiment is finished executing we can grab our best model, an ITransformer
, from the result’s best run via result.BestRun.Model
.”
A block of code, notebook cell, or other command you might enter is set as follows:
ExperimentResult<MulticlassClassificationMetrics> result = exp.Execute(split.TrainSet, split.TestSet); ITransformer model = result.BestRun.Model; var metrics = result.BestRun.ValidationMetrics; metrics.ConfusionMatrix.GetFormattedConfusionTable()
The output of any command is written as follows:
Confusion table ||======================== PREDICTED || Win | Loss | Draw | Recall TRUTH ||======================== Win || 6,537 | 3 | 438 | 0.9368 Loss || 1 | 6,544 | 432 | 0.9379 Draw || 171 | 220 | 4,271 | 0.9161 ||======================== Precision ||0.9744 |0.9670 |0.8308 |
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “A Variables pane to view variables in the kernel.”
Tips or important notes
Appear like this.