Course Outline
Part 1 – Deep Learning and DNN Concepts
Introduction to AI, Machine Learning & Deep Learning
- History, core concepts, and practical applications of artificial intelligence, separating fact from fantasy regarding this domain
- Collective Intelligence: aggregating knowledge shared among multiple virtual agents
- Genetic algorithms: evolving a population of virtual agents through selection
- Standard Learning Machines: definition and scope
- Task types: supervised learning, unsupervised learning, and reinforcement learning
- Action types: classification, regression, clustering, density estimation, and dimensionality reduction
- Examples of Machine Learning algorithms: Linear regression, Naive Bayes, Random Tree
- Machine Learning vs. Deep Learning: scenarios where Machine Learning remains the state-of-the-art (e.g., Random Forests & XGBoosts)
Basic Concepts of a Neural Network (Application: Multi-layer Perceptron)
- Review of mathematical foundations
- Definition of a neural network: classical architecture, activation functions, and weight assignments
- Weighting previous activations, network depth
- Defining neural network learning: cost functions, back-propagation, Stochastic Gradient Descent, and maximum likelihood
- Neural network modeling: structuring input and output data based on the problem type (regression, classification, etc.) and addressing the curse of dimensionality
- Distinguishing between multi-feature data and signals. Selecting appropriate cost functions based on data types
- Function approximation using neural networks: presentation and examples
- Distribution approximation using neural networks: presentation and examples
- Data Augmentation: techniques for balancing datasets
- Generalization of neural network results
- Initialization and regularization of neural networks: L1 / L2 regularization, Batch Normalization
- Optimization and convergence algorithms
Standard ML / DL Tools
A brief overview with pros, cons, ecosystem positioning, and use cases is planned.
- Data management tools: Apache Spark, Apache Hadoop
- Machine Learning: Numpy, Scipy, Sci-kit
- High-level DL frameworks: PyTorch, Keras, Lasagne
- Low-level DL frameworks: Theano, Torch, Caffe, TensorFlow
Convolutional Neural Networks (CNN).
- Overview of CNNs: fundamental principles and applications
- Basic CNN operations: convolutional layers, kernel usage
- Padding & stride, feature map generation, pooling layers. 1D, 2D, and 3D extensions
- Overview of CNN architectures that established state-of-the-art results in classification
- Image Models: LeNet, VGG Networks, Network in Network, Inception, ResNet. Overview of innovations introduced by each architecture and their broader applications (e.g., 1x1 Convolution, residual connections)
- Utilization of attention models
- Application to common classification tasks (text or image)
- CNNs for generation: super-resolution, pixel-to-pixel segmentation. Overview of
- Key strategies for increasing feature maps in image generation
Recurrent Neural Networks (RNN).
- Overview of RNNs: fundamental principles and applications
- Basic RNN operations: hidden activations, back propagation through time, unfolded version
- Evolution towards Gated Recurrent Units (GRUs) and LSTM (Long Short-Term Memory)
- Overview of different states and architectural evolutions
- Convergence and vanishing gradient issues
- Classical architectures: Time series prediction, classification, etc.
- RNN Encoder-Decoder architectures. Use of attention models
- NLP applications: word / character encoding, translation
- Video Applications: predicting the next frame in a video sequence
Generative Models: Variational AutoEncoder (VAE) and Generative Adversarial Networks (GAN).
- Overview of generative models and their connection to CNNs
- Auto-encoder: dimensionality reduction and limited generation
- Variational Auto-encoder: generative model and distribution approximation for given data. Definition and usage of latent space. Reparameterization trick. Applications and observed limitations
- Generative Adversarial Networks: Fundamentals
- Dual Network Architecture (Generator and Discriminator) with alternating learning and available cost functions
- GAN convergence and associated challenges
- Enhanced convergence: Wasserstein GAN, Began. Earth Mover's Distance
- Applications for generating images or photographs, text generation, and super-resolution
Deep Reinforcement Learning.
- Overview of reinforcement learning: controlling an agent within a defined environment
- Governed by state and possible actions
- Utilizing a neural network to approximate the state function
- Deep Q Learning: experience replay and application to video game control
- Learning policy optimization. On-policy && off-policy. Actor-critic architecture. A3C
- Applications: controlling a single video game or a digital system
Part 2 – Theano for Deep Learning
Theano Basics
- Introduction
- Installation and Configuration
Theano Functions
- Inputs, outputs, updates, and givens
Training and Optimization of a neural network using Theano
- Neural Network Modeling
- Logistic Regression
- Hidden Layers
- Training a network
- Computing and Classification
- Optimization
- Log Loss
Testing the model
Part 3 – DNN using TensorFlow
TensorFlow Basics
- Creation, Initialization, Saving, and Restoring TensorFlow variables
- Feeding, Reading, and Preloading TensorFlow Data
- Utilizing TensorFlow infrastructure to train models at scale
- Visualizing and Evaluating models with TensorBoard
TensorFlow Mechanics
- Preparing the Data
- Downloading
- Inputs and Placeholders
-
Building the Graphs
- Inference
- Loss
- Training
-
Training the Model
- The Graph
- The Session
- Training Loop
-
Evaluating the Model
- Building the Evaluation Graph
- Evaluation Output
The Perceptron
- Activation functions
- The perceptron learning algorithm
- Binary classification with the perceptron
- Document classification with the perceptron
- Limitations of the perceptron
From the Perceptron to Support Vector Machines
- Kernels and the kernel trick
- Maximum margin classification and support vectors
Artificial Neural Networks
- Nonlinear decision boundaries
- Feedforward and feedback artificial neural networks
- Multilayer perceptrons
- Minimizing the cost function
- Forward propagation
- Back propagation
- Improving neural network learning methods
Convolutional Neural Networks
- Goals
- Model Architecture
- Principles
- Code Organization
- Launching and Training the Model
- Evaluating a Model
Basic Introductions to the following modules (Brief Introduction provided based on time availability):
TensorFlow - Advanced Usage
- Threading and Queues
- Distributed TensorFlow
- Writing Documentation and Sharing your Model
- Customizing Data Readers
- Manipulating TensorFlow Model Files
TensorFlow Serving
- Introduction
- Basic Serving Tutorial
- Advanced Serving Tutorial
- Serving Inception Model Tutorial
Requirements
Background in physics, mathematics, and programming. Prior involvement in image processing activities is beneficial.
Participants should have a preliminary understanding of machine learning concepts and practical experience with Python programming and libraries.
Testimonials (2)
The training was organized and well-planned out, and I come out of it with systematized knowledge and a good look at topics we looked at
Magdalena - Samsung Electronics Polska Sp. z o.o.
Course - Deep Learning with TensorFlow 2
I really liked the end where we took the time to play around with CHAT GPT. The room was not set up the best for this- instead of one large table a couple of small ones so we could get into small groups and brainstorm would have helped