Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ML Model Evaluation and AI Testing with DeepEval
New

ML Model Evaluation and AI Testing with DeepEval

Evaluate classifiers, RAG, chatbots, and AI agents with DeepEval, golden datasets, and regression tests.
Created bySoundhar K
Last updated 11/2026
English

What you'll learn

  • Build a labelled classification baseline and split evaluation data to prevent leakage.
  • Interpret confusion matrices and choose precision, recall, F1, and deferral thresholds for a specific decision.
  • Create and version golden datasets that cover ambiguity, missing evidence, and disputed labels.
  • Build DeepEval test cases using deterministic assertions and rubric-based scoring.
  • Calibrate an AI judge against human-reviewed examples.
  • Evaluate RAG retrieval, answer faithfulness, correctness, and abstention.
  • Test multi-turn conversations and verify agent tool calls, arguments, and fallback behaviour.
  • - Compare baseline and candidate systems, investigate regressions, and make an evidence-based release decision.

Course content

8 sections • 30 lectures • 1h 42m total length
  • What Are We Evaluating?3:55
  • Define Success Before Collecting Scores3:41

Requirements

  • Basic Python knowledge, including functions, lists, and dictionaries.
  • Familiarity with basic machine learning concepts such as classification and train/test splits.
  • A basic understanding of what LLM applications do. Prior DeepEval experience is unnecessary.

Description

Your AI system scores well on a few examples. Is it ready to release? In this course, you’ll learn how to build an evaluation process that helps you answer that question with evidence.

Start with a labelled intent classification baseline. Learn to split your data without leakage, interpret a confusion matrix, and choose precision, recall, or F1 based on the decision your model supports. You’ll also set a deferral threshold for cases where the model should pass the decision to another process or a human reviewer.

Next, create golden test cases that capture the expected behaviour, required evidence, and acceptable outcomes. You’ll account for ambiguous requests, missing evidence, and disputed labels before turning those cases into DeepEval tests. You’ll use deterministic assertions for exact rules, write rubrics for answers that can be expressed in different ways, and calibrate an AI judge against human-reviewed examples.

Then evaluate systems with more moving parts. For RAG, check whether retrieval found the required evidence, whether the answer is faithful to that evidence, and whether the system abstains when the corpus has no answer. For multi-turn conversations, test clarification, topic changes, and state across turns. For AI agents, verify tool names and arguments, check when the agent should make no tool call, and test fallback behaviour with mocked MCP errors.

Finally, compare baseline and candidate systems on the same cases, identify which groups of examples regressed, and set release criteria. The course closes with a practical outcome: an evaluation you can present and a release decision you can explain.

Who this course is for:

  • ML engineers and data scientists evaluating classification models.
  • AI engineers and developers building RAG applications, chatbots, or agents.
  • QA and software engineers who want to add repeatable tests for AI behaviour.
  • Technical leads who review evaluation results and make release decisions.