Skip to content

Commit

Permalink
Update compute_breakdown returns docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
frances-h committed Dec 4, 2024
1 parent bbe6fe2 commit 6d21816
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sdmetrics/single_table/privacy/disclosure_protection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""DisclosureProtection metrics."""
"""Disclosure protection metrics."""

import numpy as np
import pandas as pd
Expand Down Expand Up @@ -135,7 +135,10 @@ def compute_breakdown(
Returns:
dict
Mapping of the metric output. Must include the key 'score'.
Mapping of the metric output with the keys:
- 'score': The overall score for the metric.
- 'cap_protection': The protection score from the selected computation method.
- 'baseline_protection': The baseline protection for the columns.
"""
cls._validate_inputs(
real_data,
Expand Down

0 comments on commit 6d21816

Please sign in to comment.