Welcome to AI Programming with Python

Start using AI techniques and developing skills related to programming, linear algebra, and neural networks.

Why Python Programming

Start coding with Python, drawing upon libraries and automation scripts to solve complex problems quickly.

Data Types and Operators

Control Flow

Functions

02. Defining Functions4:04
02. Defining Functions
02.2 Defining Functions
02.3 Defining Functions1:34
03. Quiz: Defining Functions
03.2 Quiz: Defining Functions
04. Solution: Defining Functions
05. Variable Scope1:02
06. Variable Scope
07. Solution: Variable Scope
08. Documentation2:06
09. Quiz: Documentation
10. Solution: Documentation
11. Lambda Expressions1:48
12. Quiz: Lambda Expressions
12.2 Quiz: Lambda Expressions
13. Solution: Lambda Expressions
14. [Optional] Iterators and Generators2:11
15. [Optional] Quiz: Iterators and Generators
15.2 [Optional] Quiz: Iterators and Generators
16. [Optional] Solution: Iterators and Generators
17. [Optional] Generator Expressions
18. Conclusion0:31
19. Further Learning

Scripting

Lab Classifying Images

In this project, learners will be testing their newly-acquired Python coding skills by using a trained image classifier. They will need to use the trained neural network to classify images of dogs (by breeds) and compare the output with the known dog breed classification. Learners will have a chance to build their own functions, use command line arguments, test the runtime of the code, create a dictionary of lists, and more.

NumPy

Learn how to use all the key tools for working with data in Python: Jupyter Notebooks, NumPy, Anaconda, Pandas, and Matplotlib.

Pandas

Matplotlib and Seaborn Part 1

Learn how to use Matplotlib to choose appropriate plots for one and two variables based on the types of data you have.

Matplotlib and Seaborn Part 2

Introduction

Learn the foundational math needed for AI success—vectors, linear transformations, and matrices—as well as the linear algebra behind neural networks.

Vectors

Linear Combination

Linear Transformation and Matrices

Vectors Lab

Linear Combination Lab

Linear Mapping Lab

Linear Algebra in Neural Networks

Introduction to Neural Networks

Gain a solid foundation in the latest trends in AI: neural networks, deep learning, and PyTorch.

Implementing Gradient Descent

Training Neural Networks

Deep Learning with PyTorch

Create Your Own Image Classifier

How Do I Continue From Here

01. Introduction
00:00
00:00

Functions

Welcome to this lesson on Functions! You’ll learn about:

  • Defining Functions
  • Variable Scope
  • Documentation
  • Lambda Expressions
  • Iterators and Generators

You can think about functions as a way to take what you have already learned how to do, and put it in a holder that allows you to use it over and over again in an easy to use container.