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

Keras 101

Keras is a high-level library that allows the use of TensorFlow as a backend deep learning library. TensorFlow team has included Keras in TensorFlow Core as module tf.keras. Apart from TensorFlow, Keras also supports Theano and CNTK at the time of writing this book.

The following guiding principles of Keras have made it very popular among the deep learning community:

  • Minimalism to offer a consistent and simple API
  • Modularity to allow the representation of various elements as pluggable modules
  • Extensibility to add new modules as classes and functions
  • Python-native for both code and model configuration
  • Out-of-the-box common network architectures that support CNN, RNN, or a combination of both

Throughout the remainder of this book, we shall learn how to build different kinds of deep learning and machine learning models with both the low-level TensorFlow API and the high-level Keras API.

We shall cover the following topics in this chapter:

  • Installing Keras
  • Workflow for creating models in Keras
  • Creating the Keras model with sequential and functional API
  • Keras layers
  • Creating and adding layers with sequential and functional API
  • Compiling the Keras model
  • Training the Keras model
  • Predicting using the Keras model
  • Additional modules in Keras
  • Keras sequential model example for MNIST dataset
主站蜘蛛池模板: 磐石市| 贵溪市| 东乡县| 方正县| 崇文区| 沂南县| 社旗县| 新田县| 柯坪县| 青冈县| 垦利县| 资源县| 德昌县| 澄城县| 老河口市| 邮箱| 石台县| 突泉县| 伊宁县| 疏勒县| 南木林县| 巧家县| 涞水县| 称多县| 鄂州市| 呼图壁县| 蓝田县| 正阳县| 唐山市| 施甸县| 旌德县| 什邡市| 寿光市| 正蓝旗| 乳山市| 大方县| 泾川县| 定襄县| 芦溪县| 拉萨市| 云南省|