Video accessible from your Account page after purchase.
12+ Hours of Video Instruction
Master Python to start building real-world AI projects
Python is the language behind modern AI, and this course gets you fluent in it fast. Starting from the basics, youll build up through data structures, NumPy and Pandas, reusable functions, and object-oriented design. Along the way, youll apply each concept to real AI tasks like cleaning datasets, preprocessing text, sentiment analysis, and creating neural networks in PyTorch. Hands-on labs in every lesson reinforce what you learn. By the end, youll put it all together by building a reproducible sentiment classifier, from raw data to a trained, saved model. If you want a solid Python foundation that prepares you to move on to machine learning and artificial intelligence, start here.
Topics Include:
Skill Level:
Learn How To:
Course Requirements:
Who Should Take This Course:
About Pearson Video Training:
Pearson publishes expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. These professional and personal technology videos feature world-leading author-instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include IT Certification, Network Security, Cisco Technology, Programming, Web Development, Mobile Development, and more. Learn more about Pearson video training at https://www.informit.com/video.
Lesson 1: Python Foundations and AI Preview
1.1 Variables and assignment
1.2 Numeric types
1.3 Operators
1.4 Conditional logic
1.5 Looping
1.6 Modules and imports
1.7 Defining and using packages
1.8 Lab: Python foundations and AI preview
1.9 Lab Solution: Python foundations and AI preview
Lesson 2: Data Structures for AI
2.1 Sequence types
2.2 Sequence type techniques
2.3 Sets
2.4 Dictionaries
2.5 Overview of NumPy arrays
2.6 Overview of Pandas DataFrames
2.7 Lab: Data structures for AI
2.8 Lab Solution: Data structures for AI
Lesson 3: Functions and Reusable Processing
3.1 Defining and calling functions
3.2 Passing arguments and returning a value
3.3 Default parameter values
3.4 Variadic functions
3.5 Additional techniques
3.6 Using functions in AI systems
3.7 Lab: Functions and reusable processing
3.8 Lab Solution: Functions and reusable processing
Lesson 4: Numerical Arrays and Tensors
4.1 Data preparation with Pandas
4.2 Converting Pandas DataFrames to NumPy arrays for AI models
4.3 Vectorized operations
4.4 Working with multidimensional arrays
4.5 Broadcasting
4.6 From numerical arrays to tensors
4.7 Learning with PyTorch
4.8 Lab: Numerical arrays and tensors
4.9 Lab Solution: Numerical arrays and tensors
Lesson 5: Working with Data Pipelines
5.1 Iterating over data using comprehensions
5.2 Using Boolean operations on a dataset
5.3 Fancy indexing
5.4 Validating data in a dataset
5.5 Iterating over mini-batches
5.6 Additional Python techniques
5.7 Lab: Working with data pipelines
5.8 Lab Solution: Working with data pipelines
Lesson 6: Functional Programming for AI Systems
6.1 Introduction to functional programming in Python
6.2 Functions as values
6.3 Lambda expressions
6.4 Higher-order functions
6.5 Chaining and composing functions
6.6 Filtering, mapping, and sorting data
6.7 Closures
6.8 Additional functional programming techniques
6.9 Lab: Functional programming for AI systems
6.10 Lab Solution: Functional programming for AI systems
Lesson 7: Object-Oriented Programming
7.1 Getting started with object orientation in Python
7.2 Defining and calling instance methods
7.3 Initializing an object's state
7.4 Implementing methods for a class
7.5 Defining properties
7.6 Defining class-wide members
7.7 Object orientation in AI
7.8 Lab: Object-oriented programming
7.9 Lab Solution: Object-oriented programming
Lesson 8: Python Object Design for AI Models
8.1 A closer look at attributes
8.2 Using __slots__ for memory-efficient objects
8.3 Introspection
8.4 Implementing dunder methods
8.5 Caching
8.6 Additional OO techniques
8.7 Inheritance
8.8 Polymorphism
8.9 Abstract classes and methods
8.10 Multiple inheritance
8.11 Understanding method resolution
8.12 Lab: Python object design for AI models
8.13 Lab Solution: Python object design for AI models
Lesson 9: Decorators and Exception Handling in AI
9.1 Introduction to decorators
9.2 A closer look at decorating functions
9.3 Parameterizing decorators
9.4 Decorating a class
9.5 Getting started with exceptions
9.6 Exception handling techniques
9.7 Working with a hierarchy of exception types
9.8 Raising your own exceptions
9.9 Lab: Decorators and exception handling in AI
9.10 Lab Solution: Decorators and exception handling in AI
Lesson 10: Typing and Configuration
10.1 Introduction to Python typing
10.2 Defining type hints for functions
10.3 Typing techniques
10.4 Defining type hints for classes
10.5 Introduction to Pydantic
10.6 Specifying Pydantic validation rules
10.7 Defining custom Pydantic validators
10.8 Lab: Typing and configuration
10.9 Lab Solution: Typing and configuration
Lesson 11: Asyncio and AI Data Streaming in Python
11.1 Setting the scene
11.2 Getting started with coroutines
11.3 Calling coroutines from other coroutines
11.4 Scheduling independent coroutines
11.5 Managing tasks
11.6 Data streaming
11.7 Queues
11.8 Lab: Asyncio and AI data streaming in Python
11.9 Lab Solution: Asyncio and AI data streaming in Python
Lesson 12: Creating an End-to-End AI System
12.1 Setting the scene
12.2 Setting up a Python virtual environment and installing Python packages
12.3 Preparing to call OpenAI from Python
12.4 Running the application
12.5 Code walkthrough: High-level code files
12.6 Code walkthrough: AI-related code files
12.7 Code walkthrough: RAG pipeline code files
12.8 Code walkthrough: Additional code files
