- Deep Learning Quick Reference
- Mike Bernico
- 115字
- 2021-06-24 18:40:09
Building an MLP in Keras
Keras uses an instance of a model object to contain a neural network. For those of you familiar with scikit-learn, this is probably quite familiar. What is somewhat different is that Keras models contain a set of layers. This set of layers needs to be defined by us. This allows for amazing flexibility in network architecture, with very little code.
Keras currently has two APIs for building models. In my examples, I'll be using the functional API. It's slightly more verbose but it allows additional flexibility. I'd recommend using the functional API whenever possible.
Our MLP will need an input layer, a hidden layer, and an output layer.
推薦閱讀
- 大數據戰爭:人工智能時代不能不說的事
- SCRATCH與機器人
- 網上沖浪
- Hadoop 2.x Administration Cookbook
- Troubleshooting OpenVPN
- Machine Learning with Apache Spark Quick Start Guide
- Salesforce for Beginners
- 從零開始學PHP
- R Machine Learning Projects
- Mastering Ceph
- EJB JPA數據庫持久層開發實踐詳解
- Eclipse RCP應用系統開發方法與實戰
- Generative Adversarial Networks Projects
- 超好玩的Python少兒編程
- Mastering Android Game Development with Unity