
Outline of the course introduces tensor flow 2.0 and the caris API, plus Google Colab setup, covering linear models, CNNs, RNNs, time series forecasting, and applications.
Access the course code via the resources tab, using Code Link for notebooks and GitHub link for extra materials. Learn notebooks vs plain text Python files and common retrieval mistakes.
Explore Google Colab, a cloud notebook for writing Python deep learning code with free GPU or TPU access, preinstalled libraries, and easy sharing via Google Drive.
Colab remains the official environment; updates occur as needed, replacing fitgenerator with fit, using tensorflow datasets and keras augmentation for images, and text vectorization layer for NLP.
Learn linear classification using TensorFlow 2 on the breast cancer data set to predict malignant versus benign tumors, with practical coding, data loading, preprocessing, and model training.
Learn how to generate predictions with TensorFlow models using fit and predict, convert probabilities to class outputs, and verify accuracy while handling 2D and 1D shapes.
Explore feed forward neural networks, inspired by brain neurons, and how architecture, activation functions, and multi-class classification extend linear models to unstructured data like images, text, and sound.
Learn multiclass classification by applying the softmax activation to produce a probability distribution over K categories, and contrast it with binary sigmoid for two-class tasks.
Explore how images are represented for deep learning: RGB color channels form a 3D tensor, 8-bit values scaled to 0–1, with grayscale as 2D, and flattening into vectors.
Demonstrate the equivalence of convolution and matrix multiplication, using a one-dimensional example to show how repeating the filter creates a matrix; explain weight sharing for translational invariance and efficiency.
Learn the typical cnn architecture: convolution and pooling layers shrink images while increasing feature maps, then flatten and dense layers, with stride and global pooling for varying sizes.
Explore image classification with a TensorFlow 2 convolutional neural network on CIFAR-10, via a prepared code lab notebook that builds, trains, and evaluates the model, covering data loading and overfitting.
Learn about sequence data and time series in deep learning, including shapes n by t by d, one- and multi-dimensional data, and practical examples like stock, weather, speech, and text.
Forecast time series by predicting multiple future values over a horizon. Use linear regression as a baseline, then extend to multi-step forecasts with sequential inputs and past values.
Show how a linear model learns a sine wave using an R2 model with two pass values of the time series to perfectly forecast a non-linear time series.
Learn to build a simple rnn in TensorFlow 2.0: load synthetic data, shape inputs to t by d, instantiate the rnn layer, and train, evaluate, and predict while handling shapes.
Explore how shapes influence art understanding. Track shapes with a manual recurrent neural network forward pass, detailing t, d, m, k, and the associated weight matrices and biases.
Convert words to integers and map them to dense vectors with an embedding layer, replacing costly one-hot encoding. Train embeddings with gradient descent, yielding a trainable t-by-d input for RNNs.
Learn transfer learning with data augmentation in TensorFlow using a pre-trained VGG16 model, including input preprocessing, augmentation layers, and a dense classifier, with a comparison to a non-augmented approach.
Ever wondered how AI technologies like OpenAI ChatGPT, GPT-4, DALL-E, Midjourney, and Stable Diffusion really work? In this course, you will learn the foundations of these groundbreaking applications.
Welcome to Tensorflow 2.0!
What an exciting time. It's been nearly 4 years since Tensorflow was released, and the library has evolved to its official second version.
Tensorflow is Google's library for deep learning and artificial intelligence.
Deep Learning has been responsible for some amazing achievements recently, such as:
Generating beautiful, photo-realistic images of people and things that never existed (GANs)
Beating world champions in the strategy game Go, and complex video games like CS:GO and Dota 2 (Deep Reinforcement Learning)
Self-driving cars (Computer Vision)
Speech recognition (e.g. Siri) and machine translation (Natural Language Processing)
Even creating videos of people doing and saying things they never did (DeepFakes - a potentially nefarious application of deep learning)
Tensorflow is the world's most popular library for deep learning, and it's built by Google, whose parent Alphabet recently became the most cash-rich company in the world (just a few days before I wrote this). It is the library of choice for many companies doing AI and machine learning.
In other words, if you want to do deep learning, you gotta know Tensorflow.
This course is for beginner-level students all the way up to expert-level students. How can this be?
If you've just taken my free Numpy prerequisite, then you know everything you need to jump right in. We will start with some very basic machine learning models and advance to state of the art concepts.
Along the way, you will learn about all of the major deep learning architectures, such as Deep Neural Networks, Convolutional Neural Networks (image processing), and Recurrent Neural Networks (sequence data).
Current projects include:
Natural Language Processing (NLP)
Recommender Systems
Transfer Learning for Computer Vision
Generative Adversarial Networks (GANs)
Deep Reinforcement Learning Stock Trading Bot
Even if you've taken all of my previous courses already, you will still learn about how to convert your previous code so that it uses Tensorflow 2.0, and there are all-new and never-before-seen projects in this course such as time series forecasting and how to do stock predictions.
This course is designed for students who want to learn fast, but there are also "in-depth" sections in case you want to dig a little deeper into the theory (like what is a loss function, and what are the different types of gradient descent approaches).
Advanced Tensorflow topics include:
Deploying a model with Tensorflow Serving (Tensorflow in the cloud)
Deploying a model with Tensorflow Lite (mobile and embedded applications)
Distributed Tensorflow training with Distribution Strategies
Writing your own custom Tensorflow model
Converting Tensorflow 1.x code to Tensorflow 2.0
Constants, Variables, and Tensors
Eager execution
Gradient tape
Instructor's Note: This course focuses on breadth rather than depth, with less theory in favor of building more cool stuff. If you are looking for a more theory-dense course, this is not it. Generally, for each of these topics (recommender systems, natural language processing, reinforcement learning, computer vision, GANs, etc.) I already have courses singularly focused on those topics.
Thanks for reading, and I’ll see you in class!
WHAT ORDER SHOULD I TAKE YOUR COURSES IN?:
Check out the lecture "Machine Learning and AI Prerequisite Roadmap" (available in the FAQ of any of my courses, including the free Numpy course)
UNIQUE FEATURES
Every line of code explained in detail - email me any time if you disagree
No wasted time "typing" on the keyboard like other courses - let's be honest, nobody can really write code worth learning about in just 20 minutes from scratch
Not afraid of university-level math - get important details about algorithms that other courses leave out