Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
adam2392 committed Jun 30, 2023
1 parent f5a65c4 commit efa5708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sktree/tree/_marginalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _apply_marginal_tree(


def compute_marginal(self: BaseForest, X, S, n_repeats=10):
"""Compute marginal distribution of P(S = s) for each s in X.
r"""Compute marginal distribution of P(S = s) for each s in X.
Parameters
----------
Expand Down Expand Up @@ -194,7 +194,7 @@ def compute_marginal(self: BaseForest, X, S, n_repeats=10):


def compute_conditional(self, X, S, y=None, n_repeats=10):
"""Compute conditional P(Y | X, Z = z) for each X and Z.
r"""Compute conditional P(Y | X, Z = z) for each X and Z.
Parameters
----------
Expand Down

0 comments on commit efa5708

Please sign in to comment.