09.05.2023 Views

pdfcoffee

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Conventions

There are a number of text conventions used throughout this book.

Preface

CodeInText: Indicates code words in text, database table names, folder names,

filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles

are shown as follows: "In addition, we load the true labels into Y_train and Y_test

respectively and perform a one-hot encoding on them."

A block of code is set as follows:

from TensorFlow.keras.models import Sequential

model = Sequential()

model.add(Dense(12, input_dim=8, kernel_initializer='random_uniform'))

When we wish to draw your attention to a particular part of a code block, the

relevant lines or items are set in bold:

model = Sequential()

model.add(Dense(NB_CLASSES, input_shape=(RESHAPED,)))

model.add(Activation('softmax'))

model.summary()

Any command-line input or output is written as follows:

pip install quiver_engine

Bold: Indicates a new term and important word or words that you see on the screen.

For example, in menus or dialog boxes, appear in the text like this: "Our simple

net started with an accuracy of 92.22%, which means that about eight handwritten

characters out of 100 are not correctly recognized."

[ xxiii ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!