Skip to content

Commit

Permalink
set up loose criteria for cbmr optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
yifan0330 committed Sep 26, 2023
1 parent c5b29ce commit 63e6e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/02_meta-analyses/11_plot_cbmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@
"standardized_avg_age",
"schizophrenia_subtype:reference=type1",
],
spline_spacing=20, # a reasonable choice is 10 or 5, 100 is for speed
spline_spacing=100, # a reasonable choice is 10 or 5, 100 is for speed
model=models.PoissonEstimator,
penalty=False,
tol=1, # a reasonable choice is 1e-2, 1 is for speed
tol=1e2, # a reasonable choice is 1e-2, 1 is for speed
device="cpu", # "cuda" if you have GPU
)
results = cbmr.fit(dataset=dset)
Expand Down

0 comments on commit 63e6e4c

Please sign in to comment.