
This is the introduction to the course.
Let's discuss what you'll learn in this course.
Is this course right for you? Are you at the right place?
What is Keras? Let's define it in this lesson.
Let's learn about Theano.
Let's learn about TensorFlow
Let's define the structure of an artificial neural network.
Let's define a deep learning model.
Let's learn about the Keras life cycle in this lesson.
Let's cover the basic code structure of a keras layer.
Let's work through a case study on the sundry steps in the Keras build life cycle.
Let's work through a case study on the sundry steps in the Keras build life cycle.
Let's work through a case study on the sundry steps in the Keras build life cycle.
Let's learn about performance evaluation on ANNs.
Let's work through a case study on splitting data into disparate sets for training and testing.
Let's learn about SciKit-Learn.
Let's learn about cross validation.
Let's learn about grid search.
Let's work through a case study on classification in Keras.
Let's work through a case study on classification in Keras.
Let's work through a case study on classification in Keras.
Let's work through a case study on classification in Keras.
Let's work through a case study on classification in Keras.
Let's work through a case study on classification in Keras.
Let's work through a case study on regression in Keras.
Let's work through a case study on regression in Keras.
Let's work through a case study on regression in Keras.
Let's discover what serialization is and why we use it.
In this lesson let's save our model configuration to JSON.
In this lesson let's save our model configuration to YAML.
Learn how to use model checkpoints in Keras to protect long training runs, save best weights when validation accuracy improves, and configure file naming and monitoring metrics.
Apply a simple checkpoint strategy that saves weights to the same file only when validation accuracy improves, and load those weights to make predictions on the full dataset.
Plot training history to review neural network performance over time. Use the history callback in Python to visualize metrics like loss, accuracy, and convergence indicators on the village data set.
Visualize model training history in Keras by plotting accuracy and loss for training and validation sets across epochs, using a Pima Indians diabetes classification example.
Let's define dropout.
Demonstrates dropout regularisation in an MLP for a binary classification on two concentric circles, comparing training and test performance to show reduced overfitting and improved test accuracy.
Apply dropout tips across most networks, with input and recurrent rates, use hidden dropout around 0.5–0.8, explore values 0.1–1.0 with max-norm constraints 3–4 to curb overfitting.
Set the learning rate, a key hyperparameter, to balance training speed and convergence in stochastic gradient descent with backpropagation. Too large causes oscillation or divergence; too small delays convergence.
Configure the learning rate to balance training speed and convergence in your Keras models by tuning a crucial hyperparameter through trial and error, diagnostic plots, and grid search.
Explore learning rate schedules in Keras, from constant to decaying adaptive rates, and see how SGD optimizes a binary ionosphere classification with weight updates.
Demonstrates a small neural network with 34 hidden neurons, ReLU, and sigmoid output, trained with a time-based learning rate and momentum 0.8, achieving 99% accuracy.
Apply learning rate schedules in Keras by halving the learning rate every 10 epochs with a scheduler callback, improving validation accuracy to about 99 percent.
A high-level look at CNNs.
Let's work through a case study on image recognition.
Let's work through a case study on image recognition.
Build a CNN for the M-Net with 32 feature maps, five-by-five convs, max pooling, dropout, flattening, and a 10-class softmax output, trained with Adam over 10 epochs.
Expand a handwritten digit recognition cnn by porting to classes and functions, adding convolutional and max-pooling layers, dropout, and fully connected layers, trained for 10 epochs with batch 200.
Explore image augmentation and data augmentation in Python with Keras, using the image data generator to create augmented training batches just in time, reducing memory overhead while fitting models.
Demo: case study of image augmentation demonstrates handwritten digit recognition with a keras image augmentation api. explore feature standardization across dataset using features_center and features_standard_normalization on the image data generator.
Explore image augmentation techniques in Keras, including ZCA whitening and PCA to reduce redundancy while preserving dimensions, plus rotations, shifts, and flips to improve model robustness on varied images.
Review your dataset in detail to tailor image preparation and augmentation, examine individual and aggregate transforms, and evaluate multiple transformation schemes to uncover beneficial training gains.
Explore object recognition in photographs and learn to develop and evaluate deep learning models on the CFR for Short dataset, a 60,000-image, ten-class color image collection at 32 by 32.
Explore a hands-on cnn object recognition demo using the cfr dataset, building a conv base with Conv2D and MaxPooling2D for 32x32x3 images and 10-class softmax classification.
Improve model performance by training more epochs, applying image data augmentation such as random shifts and horizontal image flips, and exploring deeper network topologies with larger networks.
Explore sentiment analysis in Keras by predicting movie review polarity with the movie review dataset, using integer-encoded text in the Keras deep learning library, aiming for baseline accuracy around 88–89%.
Load the imdb dataset, display its 50,000 training records, and confirm a binary sentiment target of good or bad; note vocabulary under 100k and an average length near 38 words.
Word embeddings represent words as real-valued vectors in a vector space, capturing meaning so similar words share representations and improve network efficiency over one-hot and bag of words methods.
Demonstrates a simple mlp with a 5000-word embedding and 32-dim vectors, trained on a 50/50 train-test split with two epochs, achieving about 85 percent accuracy.
Explore a one-dimensional convolutional neural network for text, using an embedding input, a 32-filter 1D convolution, and a 1D max-pooling layer with stride two to capture word order patterns.
Let's define a RNN.
Let's work through a time series prediction problem.
Let's work through a time series prediction problem.
Let's work through a time series prediction problem.
Demonstrates building an LSTM-based time series predictor in Keras, including data normalization, reshaping into samples, time steps, and features, and training on the airline passengers dataset.
Explore time series regression using the window method with varying lookback windows and time-step inputs, demonstrating how to frame next-step predictions and reshape data for improved results.
Discover how stateful lstm layers remember across long sequences by carrying state between batches, using return sequences for stacked layers and explicit epoch resets.
Develop a recurrent neural network for sequence classification using Keras to perform IMDb movie review sentiment classification, with embedding, long short-term memory, and a sigmoid output layer.
Apply dropout in recurrent neural networks to curb overfitting in sequence classification by inserting dropout layers between embedding and LSTM layers, and between LSTM layers and dense output layers.
** Mike's courses are popular with many of our clients." Josh Gordon, Developer Advocate, Google **
"This is well developed with an appropriate level of animation and illustration." - Bruce
"Very good course for somebody who already has pretty good foundation in machine learning." - Il-Hyung Cho
Welcome to Hands-On Keras for Machine Learning Engineers. This course is your guide to deep learning in Python with Keras. You will discover the Keras Python library for deep learning and how to use it to develop and evaluate deep learning models.
There are two top numerical platforms for developing deep learning models, they are Theano developed by the University of Montreal and TensorFlow developed at Google. Both were developed for use in Python and both can be leveraged by the super simple to use Keras library. Keras wraps the numerical computing complexity of Theano and TensorFlow providing a concise API that we will use to develop our own neural network and deep learning models. Keras has become the gold standard in the applied space for rapid prototyping deep learning models.
My name is Mike West and I'm a machine learning engineer in the applied space. I've worked or consulted with over 50 companies and just finished a project with Microsoft. I've published over 50 courses and this is 55 on Udemy. If you're interested in learning what the real-world is really like then you're in good hands.
Who is this course for?
This course is for developers, machine learning engineers and data scientists that want to learn how to get the most out of Keras. You do not need to be a machine learning expert, but it would be helpful if you knew how to navigate a small machine learning problem using SciKit-Learn. Basic concepts like cross-validation and one hot encoding used in lessons and projects are described, but only briefly. With all of this in mind, this is an entry level course on the Keras library.
What are you going to Learn?
How to develop and evaluate neural network models end-to-end.
How to use more advanced techniques required for developing state-of-the-art deep learning models.
How to build larger models for image and text data.
How to use advanced image augmentation techniques in order to lift model performance.
How to get help with deep learning in Python.
The anatomy of a Keras model.
Evaluate the Performance of a deep learning Keras model.
Build end-to end regression and classification models in Keras.
How to use checkpointing to save the best model run.
How to reduce overfitting With Dropout Regularization.
How to enhance performance with Learning Rate Schedules.
Work through a crash course on Convolutional Neural Networks.
This course is a hands on-guide. It is a playbook and a workbook intended for you to learn by doing and then apply your new understanding to your own deep learning Keras models. To get the most out of the course, I would recommend working through all the examples in each tutorial. If you watch this course like a movie you'll get little out of it.
In the applied space machine learning is programming and programming is a hands on-sport.
Thank you for your interest in Hands-On Keras for Machine Learning Engineers.
Let's get started!