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.

Training a deep learning model in Python

Training a deep learning model in Python

- [Instructor] In this video, you'll learn how to compile and train a deep learning model in Python using Keras. I will be writing the completed code in the 04_03e file. You can follow along by completing the empty code cells in the 04_03b file. Note that this is the third 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 two videos for a detailed explanation of the prior code. Before we begin, let's run the code we created in those videos to get our environment up to speed. So here, we're going to come down here as we did previously and run the prior code. So let's wait for that to complete. I'm going to scroll up a little bit to make sure that the code is done. Okay, so now, let's get back to where we were. So now that we've defined our model's architecture, and we've did that in the previous video, the next step is to prepare it for training. This involves compiling the model by…

Contents