Skip to content

Commit

Permalink
Updating docstring in calculate_percent_difference.
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyaboulton committed Aug 17, 2020
1 parent 19f61b4 commit 988559e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evalml/objectives/objective_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def calculate_percent_difference(cls, score, baseline_score):
this is the score achieved on this objective with a baseline estimator.
Returns:
float: The percent difference between the scores. This will be the difference between the
baseline score and score normalized by the baseline score.
float: The percent difference between the scores. This will be the difference normalized by the
baseline score.
"""

if pd.isna(score) or pd.isna(baseline_score):
Expand Down

0 comments on commit 988559e

Please sign in to comment.