Skip to content

Commit

Permalink
small docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tata-antares committed May 22, 2015
1 parent 66350ca commit 4f26e56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions rep/report/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,11 @@ def compute_metric(self, metric, mask=None):
"""
Compute metric value
:param metric: class with __call__(self, y_true, prob, sample_weight=None) or function
:param mask: mask which points we should use
:param metric: function like object with::
__call__(self, y_true, prob, sample_weight=None)
:param mask: mask, points we should use
:type mask: None or array-like or str or function(pandas.DataFrame)
:return: metric value for each estimator
Expand Down
3 changes: 2 additions & 1 deletion rep/report/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class ClassificationReport(AbstractReport):
Parameters:
-----------
:param dict[str, Classifier] classifiers: estimators
:param classifiers: estimators
:type classifiers: dict[str, Classifier]
:param LabeledDataStorage lds: data
"""
def __init__(self, classifiers, lds):
Expand Down

0 comments on commit 4f26e56

Please sign in to comment.