From the course: Building Recommender Systems with Machine Learning and AI
Unlock this course with a free trial
Join today to access over 23,200 courses taught by industry experts.
Training recurrent neural networks - Python Tutorial
From the course: Building Recommender Systems with Machine Learning and AI
Training recurrent neural networks
- [Instructor] Training RNNs, just like CNNs, is hard, and in some ways it's even harder. The main twist here is that we need to backpropagate not only through the neural network itself and all of its layers, but also through time. From a practical standpoint, every one of those time steps ends up looking like another layer in our neural network while we're training to train it, and those time steps can add up fast. Over time we can end up with a deeper and deeper neural network that we need to train, and the cost of actually performing gradient descent on that increasingly deep neural network becomes increasingly large. So to put an upper cap on that training time, often we limit the backpropagation to a limited number of time steps. We call this truncated backpropagation through time. It's something to keep in mind when you're training in RNN. You not only need to backpropagate through the neural network topology that you've created, you also need to backpropagate through all of the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Deep learning introduction1m 30s
-
(Locked)
Deep learning prerequisites8m 13s
-
History of artificial neural networks10m 51s
-
(Locked)
Playing with TensorFlow12m 2s
-
(Locked)
Training neural networks5m 47s
-
(Locked)
Tuning neural networks3m 52s
-
(Locked)
Introduction to TensorFlow11m 29s
-
(Locked)
Handwriting recognition with TensorFlow, part 113m 18s
-
(Locked)
Handwriting recognition with TensorFlow, part 212m 3s
-
(Locked)
Introduction to Keras2m 48s
-
(Locked)
Handwriting recognition with Keras9m 52s
-
(Locked)
Classifier patterns with Keras3m 58s
-
(Locked)
Predict political parties of politicians with Keras9m 55s
-
(Locked)
Intro to convolutional neural networks (CNNs)8m 59s
-
(Locked)
CNN architectures2m 54s
-
(Locked)
Handwriting recognition with CNNs8m 38s
-
(Locked)
Intro to recurrent neural networks (RNNs)7m 38s
-
(Locked)
Training recurrent neural networks3m 21s
-
(Locked)
Sentiment analysis of movie reviews using RNNs and Keras11m 1s
-
(Locked)
-
-
-
-
-
-