⭐Quality Report API
from sdmetrics.reports import QualityReport
report = QualityReport()
report.generate(real_data, synthetic_data, metadata)Generating report ...
(1/4) Evaluating Column Shapes: |██████████| 15/15 [00:00<00:00, 564.15it/s]|
Column Shapes Score: 85.61%
(2/4) Evaluating Column Pair Trends: |██████████| 55/55 [00:00<00:00, 110.40it/s]|
Column Pair Trends Score: 71.97%
(3/4) Evaluating Cardinality: |██████████| 1/1 [00:00<00:00, 53.27it/s]|
Cardinality Score: 70.0%
(4/4) Evaluating Intertable Trends: |██████████| 50/50 [00:00<00:00, 86.54it/s]|
Intertable Trends Score: 68.49%
Overall Score (Average): 74.02%Usage
Generating the report
QualityReport()
generate(real_data, synthetic_data, metadata)
Getting & explaining the results
get_score()
get_properties()
get_details(property_name, table_name)
Visualizing the report
get_visualization(property_name, table_name)

Saving & loading the report
save(filepath)
QualityReport.load(filepath)
FAQs
Last updated
