Skip to content

Commit ec4c2e7

Browse files
committed
Missing docstring
1 parent d0f8940 commit ec4c2e7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/pydvl/utils/utility.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,18 @@ class wraps it and caches the results of each execution. Caching is
4848
a scorer callable or None for the default `model.score()`. Greater
4949
values must be better. If they are not, a negated version can be
5050
used (see `make_scorer`)
51+
:param default_score: score in the case of models that have not been fit,
52+
e.g. when too little data is passed, or errors arise.
53+
:param score_range: numerical range of the score function. Some Monte Carlo
54+
methods can use this to estimate the number of samples required for a
55+
certain quality of approximation.
5156
:param catch_errors: set to True to catch the errors when fit() fails. This
5257
could happen in several steps of the pipeline, e.g. when too little
5358
training data is passed, which happens often during the Shapley value calculations.
5459
When this happens, the default_score is returned as a score and Shapley value
5560
calculation continues.
5661
:param show_warnings: True for printing warnings fit fails.
5762
Used only when catch_errors is True
58-
:param default_score: score in the case of models that have not been fit,
59-
e.g. when too little data is passed, or errors arise.
6063
:param enable_cache: If True, use memcached for memoization.
6164
:param cache_options: Optional configuration object for memcached.
6265

0 commit comments

Comments
 (0)