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.
Classifier patterns with Keras - Python Tutorial
From the course: Building Recommender Systems with Machine Learning and AI
Classifier patterns with Keras
- [Instructor] So that was a lot easier using keras, wasn't it? The MNIST data set is just one type of problem that you might solve with a neural network. It's what we call a multi-class classification. It's multi-class because the classifications we are fitting into range from the numbers zero through nine. So in this case, we have 10 different possible classification values and that makes this a multi-class classification problem. Based on Keras' documentation and examples, they have general advice on how to handle different types of problems. Here's an example of how they suggest setting up a multi-class classification problem in general. You can see here that we have two hidden layers. We have an input dimension of however many features you have coming into this system. In this example there's 20, but depending on the nature of your problem there may be more or less. It's setting up two relu activation function layers, each with 64 neurons. Again that's something you'd want to…
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)
-
-
-
-
-
-