~/talk

Data Validation for Data Science

Talkat PyData London 2022 · 2022-06-17..06-19· [databases]
links:none on file
slides:none on file

Tutorial shows why data validation prevents trivial failures and how to do it: use Great Expectations to build an expectation suite and run checkpoints that report failing rows (duplicate ids, unexpected categories); use Pandera schemas in training to enforce types, ranges, non-null and to catch bad rows for isolation; use Pydantic models for serving with Optional and enum fields, custom validators, and a coercion/strict strategy to convert or reject malformed inputs.

AI-written summary · about

  1. 0:00Start
  2. 2:31Agenda
  3. 4:09Validation in Databases
  4. 7:23What Does Data Validation Actually Mean
  5. 8:27How Can Data Become Invalid
  6. 8:37Human Error
  7. 9:17Outdated or Expired Data Sets
  8. 10:45Reasons To Put Data Validation Steps in Place
  9. 12:12Data Drift
  10. 13:23Familiarity
  11. 14:09What Point in the Model Life Cycle Should We Implement Data Validation
  12. 15:19Model Training
  13. 16:08Hands-on Tutorial
  14. 17:01Install the Required Packages
  15. 19:43Create a Data Context
  16. 21:22Create a Data Source
  17. 22:00What Is a Data Source
  18. 22:34Define the Execution Engine
  19. 24:03The Data Connector
  20. 30:42Expect Column Values To Be Unique
  21. 40:02Solutions
  22. 41:28Validating the Data in a Data Checkpoint
  23. 47:05Pandira
  24. 48:33Train a Basic Model
  25. 49:48Pandera
  26. 50:44Create Pandira Schema
  27. 52:41Bad Data Schema
  28. 56:03Validate Acceptable Categorical Variables
  29. 56:58Coerce
  30. 59:57Hypothesis Testing
  31. 1:01:56Practice Defining Data Frame Schemas Using Pandira
  32. 1:07:20Solutions to the Exercise
  33. 1:07:53Checking for Range
  34. 1:10:09Model Serving
  35. 1:10:19Training Pipeline
  36. 1:16:09Custom Based Models
  37. 1:19:11Custom Validation
  38. 1:22:49Profiling Tools
  39. 1:23:16How Big Is the Community
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.