YoVDO

Testing Stochastic AI Models with Hypothesis

Offered By: PyCon US via YouTube

Tags

PyCon US Courses Property-based Testing Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore property-based testing for stochastic AI models using the Hypothesis library in this PyCon US talk. Dive into the challenges of testing advanced AI systems and learn how to generate random examples of plausible edge cases. Discover the theory behind property-based testing and see practical use cases demonstrating the implementation of the Hypothesis library. Cover topics such as example-based testing, properties like commutativity and invariant functions, metamorphic testing, and Hypothesis strategies. Learn to define custom strategies, transform data functions, debug Hypothesis strategies, and implement repeatable random testing with shrinking capabilities. Gain insights into additional components like image rotation to enhance your AI model testing approach.

Syllabus

Intro
About me
Table of Content
Example-based testing- example
Example-based testing - issues
Example-based testing - merge_sort
Property: Commutativity
Property: Invariant functions
Property: The test oracle
Property-based testing
What are the properties in the example?
Metamorphic Testing
Metamorphic Relations
Hypothesis Library
Hypothesis basic strategies
merge_sort test
Define you own strategy
Transforming data functions
Debug hypothesis strategies
Repeatable random testing
Shrinking
Additional Components
Rotate the image


Taught by

PyCon US

Related Courses

Intro to Python for Brand New Programmers
PyCon US via YouTube
Comprehending Comprehensions
PyCon US via YouTube
Data Analysis with SQLite and Python
PyCon US via YouTube
Build a Production Ready GraphQL API Using Python
PyCon US via YouTube
Web Development With A Python-backed Frontend - Featuring HTMX and Tailwind
PyCon US via YouTube