- R Deep Learning Essentials
- Mark Hodnett Joshua F. Wiley
- 171字
- 2021-08-13 15:34:26
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."
A block of code is set as follows:
dfData <- read.csv(fileName)
nobs <- nrow(dfData)
train <- sample(nobs, 0.9*nobs)
test <- setdiff(seq_len(nobs), train)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
> dfResults
w stem stop nb_acc svm_acc nn_acc rf_acc best_acc
12 binary 1 1 86.06 95.24 90.52 94.26 95.24
9 binary 0 1 87.71 95.15 90.52 93.72 95.15
10 tfidf 1 1 91.99 95.15 91.05 94.17 95.15
3 binary 0 0 85.98 95.01 90.29 93.99 95.01
Any command-line input or output is written as follows:
$ tensorboard --logdir /tensorflow_logs
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."