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

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

Lesson Summary

You learned a ton in this lesson! To summarize, here’s a recap of the data types and operators we covered.

Data Types

We covered four important data types that you’ll use all the time in programming:

Data Type | Constructor | Example |
|—|—|—|—|—|
| int | int() | 5 |
| float | float() | 6.5 |
| string | '' or "" or str() | “this is a string” |
| bool | bool() | True or False |

 

 

Operators

We also covered four useful sets of operators:

 
 

 

What’s Next?

Now that you are familiar with some basic data types and operators, in the next lesson, you’ll learn about data structures, where you organize and group together these data types into different containers. You’ll also learn about the two remaining types of operators in Python, along with more useful built-in functions and methods.

 

 

Additional Practice Resources

When many students are getting started, they often always want more practice. There are a number of great websites you can use for coding exercises and solutions. Two that you should definitely take advantage of are HackerRank and Codewars.

Note: You may find some of the exercises require knowledge on concepts you haven’t learned yet. Feel free to google them, or wait until you’ve gone through all the lessons in this course.

I encourage you to create a profile on both and commit to improving your Python programming skills! As you get better, you can advance to harder problems and sites with even greater challenges. If you spend a lot of time on this, you’ll really become a Python programming master.

Happy coding and see you in the next lesson!