BookmarkSubscribeRSS Feed

How to generate and run business rules with Great Expectations in SAS Studio?

Started ‎02-15-2024 by
Modified ‎02-12-2024 by
Views 1,608

In my previous SAS Communities article, I explained how to use the Great Expectations - Execute Business Rules custom step to validate your data for min/max values, matching patterns, etc. But what if you need more advanced business rules that are not included in the previous custom step? Or you have a validated dataset and want to generate a set of rules that describe that dataset and reuse those rules on newer data? You might want to try two other Great Expectations custom steps: GE - Generate Expectation Suite and GE - Run Expectation Suite.

 

I’ve recorded a short demo to show you how you can use the GE - Generate Expectation Suite custom step to automatically generate rules based on a "train" dataset, and the GE - Run Expectation Suite custom step to use the generated rules to validate another dataset. All in two simple SAS Studio flows!

 

Comments

great job!

Contributors
Version history
Last update:
‎02-12-2024 09:48 AM
Updated by:

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Tags