Skip to content

Commit

Permalink
Fix #57
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaMorin committed Feb 15, 2024
1 parent c3e632a commit e6cdbb4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion stepmix/stepmix.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,8 @@ def bootstrap(
to be bootstrapped to save computations.
progress_bar : bool, default=True
Display a tqdm progress bar for repetitions.
progress_bar : bool, default=True
Display a tqdm progress bar for repetitions.
random_state : int, default=None
If none, use self.random_state.
Returns
Expand Down Expand Up @@ -1179,7 +1181,12 @@ def bootstrap_stats(
}.
"""
bootstrap_df, bootstrap_stats = self.bootstrap(
X, Y, n_repetitions, sample_weight, progress_bar
X=X,
Y=Y,
n_repetitions=n_repetitions,
sample_weight=sample_weight,
parametric=False,
progress_bar=progress_bar,
)

mm_data = bootstrap_df.loc["measurement"].drop(
Expand Down

0 comments on commit e6cdbb4

Please sign in to comment.