Skip to content

Commit

Permalink
Correction docstring (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoih authored and hoffmansc committed Nov 15, 2019
1 parent bb8f0b2 commit cc99fb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aif360/metrics/classification_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def num_generalized_true_positives(self, privileged=None):

def num_generalized_false_positives(self, privileged=None):
"""Return the generalized number of false positives, :math:`GFP`, the
weighted sum of predicted scores where true labels are 'favorable',
weighted sum of predicted scores where true labels are 'unfavorable',
optionally conditioned on protected attributes.
Args:
Expand All @@ -200,7 +200,7 @@ def num_generalized_false_positives(self, privileged=None):

def num_generalized_false_negatives(self, privileged=None):
"""Return the generalized number of false negatives, :math:`GFN`, the
weighted sum of predicted scores where true labels are 'favorable',
weighted sum of 1 - predicted scores where true labels are 'favorable',
optionally conditioned on protected attributes.
Args:
Expand All @@ -218,7 +218,7 @@ def num_generalized_false_negatives(self, privileged=None):

def num_generalized_true_negatives(self, privileged=None):
"""Return the generalized number of true negatives, :math:`GTN`, the
weighted sum of predicted scores where true labels are 'favorable',
weighted sum of 1 - predicted scores where true labels are 'unfavorable',
optionally conditioned on protected attributes.
Args:
Expand Down

0 comments on commit cc99fb9

Please sign in to comment.