Skip to content

Commit

Permalink
fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
frances-h authored and R-Palazzo committed Oct 30, 2023
1 parent 7fe5f0a commit ecf7514
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""ColumnPair metrics based on Kullback–Leibler Divergence."""
"""ColumnPair metric for Cardinality Boundary Adherence."""

import pandas as pd

Expand Down Expand Up @@ -41,7 +41,7 @@ def compute_breakdown(real_data, synthetic_data):
foreign keys as the second element.
Returns:
Union[float, tuple[float]]:
dict
Metric output.
"""
real_cardinality = pd.DataFrame(index=real_data[0].copy())
Expand Down Expand Up @@ -74,7 +74,7 @@ def compute(cls, real_data, synthetic_data):
foreign keys as the second element.
Returns:
Union[float, tuple[float]]:
float:
Metric output.
"""
return cls.compute_breakdown(real_data, synthetic_data)['score']

0 comments on commit ecf7514

Please sign in to comment.