Skip to content

Commit

Permalink
update docstrings (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser-Greenlee committed Dec 18, 2020
1 parent cc4e76a commit 441e204
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions metrics/accuracy/accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

_KWARGS_DESCRIPTION = """
Args:
predictions: Ground truth labels.
references: Predicted labels, as returned by a model.
predictions: Predicted labels, as returned by a model.
references: Ground truth labels.
normalize: If False, return the number of correctly classified samples.
Otherwise, return the fraction of correctly classified samples.
sample_weight: Sample weights.
Expand Down
4 changes: 2 additions & 2 deletions metrics/f1/f1.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

_KWARGS_DESCRIPTION = """
Args:
predictions: Ground truth labels.
references: Predicted labels, as returned by a model.
predictions: Predicted labels, as returned by a model.
references: Ground truth labels.
labels: The set of labels to include when average != 'binary', and
their order if average is None. Labels present in the data can
be excluded, for example to calculate a multiclass average ignoring
Expand Down
4 changes: 2 additions & 2 deletions metrics/precision/precision.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

_KWARGS_DESCRIPTION = """
Args:
predictions: Ground truth labels.
references: Predicted labels, as returned by a model.
predictions: Predicted labels, as returned by a model.
references: Ground truth labels.
labels: The set of labels to include when average != 'binary', and
their order if average is None. Labels present in the data can
be excluded, for example to calculate a multiclass average ignoring
Expand Down
4 changes: 2 additions & 2 deletions metrics/recall/recall.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

_KWARGS_DESCRIPTION = """
Args:
predictions: Ground truth labels.
references: Predicted labels, as returned by a model.
predictions: Predicted labels, as returned by a model.
references: Ground truth labels.
labels: The set of labels to include when average != 'binary', and
their order if average is None. Labels present in the data can
be excluded, for example to calculate a multiclass average ignoring
Expand Down

0 comments on commit 441e204

Please sign in to comment.