Home

Awesome

T81 558:Applications of Deep Neural Networks

Washington University in St. Louis

Instructor: Jeff Heaton

Course Description

Deep learning is a group of exciting new technologies for neural networks. Through a combination of advanced training techniques and neural network architectural components, it is now possible to create neural networks that can handle tabular data, images, text, and audio as both input and output. Deep learning allows a neural network to learn hierarchies of information in a way that is like the function of the human brain. This course will introduce the student to classic neural network structures, Convolution Neural Networks (CNN), Long Short-Term Memory (LSTM), Gated Recurrent Neural Networks (GRU), General Adversarial Networks (GAN) and reinforcement learning. Application of these architectures to computer vision, time series, security, natural language processing (NLP), and data generation will be covered. High Performance Computing (HPC) aspects will demonstrate how deep learning can be leveraged both on graphical processing units (GPUs), as well as grids. Focus is primarily upon the application of deep learning to problems, with some introduction to mathematical foundations. Students will use the Python programming language to implement deep learning using PyTorch. It is not necessary to know Python prior to this course; however, familiarity of at least one programming language is assumed. This course will be delivered in a hybrid format that includes both classroom and online instruction.

Objectives

  1. Explain how neural networks (deep and otherwise) compare to other machine learning models.
  2. Determine when a deep neural network would be a good choice for a particular problem.
  3. Demonstrate your understanding of the material through a final project uploaded to GitHub.

Syllabus

This syllabus presents the expected class schedule, due dates, and reading assignments. Download current syllabus

ModuleContent
Module 1<br>Meet on 08/27/2024Module 1: Python Preliminaries<ul><li>1.1: Course Overview<li>1.2: Introduction to Python<li>1.3: Python Lists, Dictionaries, Sets & JSON<li>1.4: File Handling<li>1.5: Functions, Lambdas, and Map/ReducePython Preliminaries<li>We will meet on campus this week! (first meeting)</ul>
Module 2<br>Week of 09/03/2024Module 2: Python for Machine Learning<ul><li> 2.1: Introduction to Pandas for Deep Learning<li>2.2: Encoding Categorical Values in Pandas<li>2.3: Grouping, Sorting, and Shuffling<li>2.4: Using Apply and Map in Pandas<li>2.5: Feature Engineering in Padas<li>Module 1 Program due: 09/04/2024<li> Icebreaker due: 09/04/2024</ul>
Module 3<br>Week of 09/10/2024Module 3: PyTorch for Neural Networks<ul><li>3.1: Deep Learning and Neural Network Introduction<li>3.2: Introduction to PyTorch<li>3.3: Encoding a Feature Vector for PyTorch Deep Learning<li>3.4: Early Stopping and Network Persistence<li>3.5: Sequences vs Classes in PyTorch<li>Module 2: Program due: 09/11/2024</ul>
Module 4<br>Week of 09/17/2024Module 4: Training for Tabular Data<ul><li>4.1: Using K-Fold Cross-validation with PyTorch<li>4.2: Training Schedules for PyTorch<li>4.3: Dropout Regularization<li>4.4: Batch Normalization<li>4.5: RAPIDS for Tabular Data<li>Module 3 Program due: 09/18/2024</ul>
Module 5<br>Week of 09/24/2024Module 5: CNN and Computer Vision<ul><li>5.1 Image Processing in Python<li>5.2 Using Convolutional Neural Networks<li>5.3 Using Pretrained Neural Networks<li>5.4 Looking at Generators and Image Augmentation<li>5.5 Recognizing Multiple Images with YOLO<li>Module 4 Program due: 09/25/2024</ul>
Module 6<br>Meet on 10/01/2024Module 6: ChatGPT and Large Language Models<ul><li>6.1: Introduction to Transformers<li>6.2: Accessing the ChatGPT API<li>6.3: LLM Memory<li>6.4: Introduction to Embeddings<li>6.5: Prompt Engineering<li>Module 5 Program due: 10/02/2024<li>We will meet on campus this week! (second meeting)</ul>
Module 7<br>Week of 10/15/2024Module 7: Image Generative Models<ul><li>7.1: Introduction to Generative AI<li>7.2: Generating Faces with StyleGAN3<li>7.3: GANS to Enhance Old Photographs Deoldify<li>7.4: Text to Images with StableDiffusion<li>7.5: Finetuning with Dreambooth<li>Module 6 Program due: 10/16/2024</ul>
Module 8<br>Meet on 10/22/2024Module 8: Kaggle<ul><li>8.1 Introduction to Kaggle<li>8.2 Building Ensembles with Scikit-Learn and PyTorch<li>8.3 How Should you Architect Your PyTorch Neural Network: Hyperparameters<li>8.4 Bayesian Hyperparameter Optimization for PyTorch<li>8.5 Current Semester's Kaggle<li>Module 7 Program due: 10/23/2024<li>We will meet on campus this week! (third meeting)</ul>
Module 9<br>Week of 10/29/2024Module 9: Facial Recognition<ul><li>9.1 Detecting Faces in an Image<li>9.2 Detecting Facial Features<li>9.3 Image Augmentation<li>9.4 Application: Emotion Detection<li>9.5 Application: Blink Efficiency<li>Module 8 Assignment due: 10/30/2024</ul>
Module 10<br>Week of 11/05/2024Module 10: Time Series in PyTorch<ul><li>Time Series Data Encoding for Deep Learning, PyTorch<li>Seasonality and Trend<li>LSTM-Based Time Series with PyTorch<li>CNN-Based Time Series with PyTorch<li>Predicting with Meta Prophet<li>Module 9 Program due: 11/06/2024</ul>
Module 11<br>Week of 11/12/2024Module 11: Natural Language Processing<ul><li>11.1 Introduction to Natural Language Processing<li>11.2 Hugging Face Introduction<li>11.3 Hugging Face Tokenizers<li>11.4 Hugging Face Data Sets<li>11.5 Training a Model in Hugging Face<li>Module 10 Program due: 11/13/2024</ul>
Module 12<br>Week of 11/19/2024Module 12: Reinforcement Learning<ul><li>Introduction to Gymnasium<li>Introduction to Q-Learning<li>Stable Baselines Q-Learning<li>Atari Games with Stable Baselines Neural Networks<li>Future of Reinforcement Learning</ul>
Module 13<br>Week of 11/26/2024Module 13: Deployment and Monitoring<ul><li>13.1: Using Denoising AutoEncoders <li>13.2: Anomaly Detection<li>13.3: Model Drift and Retraining<li>13.4: Tensor Processing Units (TPUs)<li>13.5: Future Directions in Artificial Intelligence<li>Kaggle Assignment due: 11/26/2024 (approx 4-6PM, due to Kaggle GMT timezone)</ul>
Week 14<br>Meet on 12/3/2024Week 14: Kaggle Presentations<ul><li>Top Kaggle teams will present<li>We will meet on campus this week! (fourth meeting)<li>Final project due: 12/4/2024</ul>

Datasets