From the course: Deep Learning with Python: Hands-On Introduction to Deep Learning Models

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Defining a deep learning model in Python

Defining a deep learning model in Python

- [Instructor] In this video, you will learn how to define a deep learning model in Python using Keras. I will be running the completed code in the 04_02 e-file. You can follow along by completing the empty code cells in the 04_02 B-file. Note that this is the second in a three video sequence that teaches you how to build a deep learning model in Python using Keras. If you have not done so, watch the previous video for a detailed explanation of the prior code. Before we begin, let's run the code we created in that video to get our environment up to speed. So I'm going to come here to the code. So we're going to run next and say Execute Above Cells. So it's going to be running everything above. We're going to wait for that to complete, and once that's complete, then we can continue. The previous cells are now done. All right, so we're going to, "Define the Model Architecture." A neural network's architecture defines how the data flows through the model, how layers are connected, and…

Contents