Skip to content

Commit

Permalink
Fix default value
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbenito committed Apr 12, 2024
1 parent 67a5b06 commit d691943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pydvl/value/shapley/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
from pydvl.value.shapley.owen import OwenAlgorithm, owen_sampling_shapley
from pydvl.value.shapley.truncated import NoTruncation
from pydvl.value.shapley.types import ShapleyMode
from pydvl.value.stopping import StoppingCriterion
from pydvl.value.stopping import MaxChecks, StoppingCriterion

__all__ = ["compute_shapley_values"]


def compute_shapley_values(
u: Utility,
*,
done: StoppingCriterion,
done: StoppingCriterion = MaxChecks(None),
mode: ShapleyMode = ShapleyMode.TruncatedMontecarlo,
n_jobs: int = 1,
seed: Optional[Seed] = None,
Expand Down

0 comments on commit d691943

Please sign in to comment.