sdv-dev / SDMetrics

Metrics to evaluate quality and efficacy of synthetic datasets.
https://docs.sdv.dev/sdmetrics
MIT License
210 stars 45 forks source link

Create multi table BaseProperty class #357

Closed amontanez24 closed 1 year ago

amontanez24 commented 1 year ago

Problem Description

As a developer, it would be easier to make changes to the QualityReport if our code abstractions matched our logical and user facing abstractions. It's hard to add new properties, modify aggregation in existing ones and handle errors now because the results are being collected in a way that doesn't match the desired output.

After adding the BaseSingleTableProperty class in #354, we can use it at the multi table level as well. To do this we can create a BaseMultiTableProperty class and add it to a _properties module in the reports/multi_table folder.

Expected behavior

Attributes

Abstract methods

Additional context