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

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
主站蜘蛛池模板: 开远市| 宜黄县| 军事| 东乡族自治县| 武宁县| 枣庄市| 三门峡市| 钦州市| 毕节市| 昭觉县| 固原市| 昭平县| 衡阳县| 惠来县| 栖霞市| 泌阳县| 湖州市| 秀山| 宜丰县| 甘谷县| 文成县| 洛川县| 新邵县| 卢龙县| 团风县| 汾西县| 惠东县| 彩票| 永新县| 麻江县| 西安市| 永春县| 汕尾市| 清镇市| 黎平县| 上林县| 温宿县| 阿荣旗| 连云港市| 自治县| 唐海县|