官术网_书友最值得收藏!

  • Deep Learning with Keras
  • Antonio Gulli Sujit Pal
  • 213字
  • 2021-07-02 23:58:00

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: "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 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:

# 10 outputs
# final stage is softmax
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

New terms and important words are shown in bold. 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."

Warnings or important notes appear in a box like this.

Tips and tricks appear like this.

主站蜘蛛池模板: 阿拉善盟| 原平市| 当阳市| 漯河市| 司法| 北碚区| 海城市| 德令哈市| 大田县| 文昌市| 桃园县| 安仁县| 板桥市| 昔阳县| 柳河县| 通城县| 鲁山县| 贵港市| 神木县| 太谷县| 宜城市| 宾川县| 温宿县| 山阳县| 台山市| 延津县| 临邑县| 延川县| 来凤县| 潍坊市| 喜德县| 遂昌县| 上高县| 宁陵县| 邹城市| 浏阳市| 神池县| 华蓥市| 竹山县| 娄底市| 盖州市|