Skip to content

Commit

Permalink
Change more n_iters to 50000
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Jan 18, 2024
1 parent dbc8e65 commit d82af2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nimare/annotate/gclda.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def __init__(
self.topics["total_n_word_tokens_by_topic"][0, topic] += 1
self.topics["n_word_tokens_doc_by_topic"][doc, topic] += 1

def fit(self, n_iters=10000, loglikely_freq=10):
def fit(self, n_iters=5000, loglikely_freq=10):
"""Run multiple iterations.
.. versionchanged:: 0.0.8
Expand Down
6 changes: 3 additions & 3 deletions nimare/meta/cbma/ale.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __init__(
**kwargs,
)
self.null_method = null_method
self.n_iters = None if null_method == "approximate" else n_iters or 10000
self.n_iters = None if null_method == "approximate" else n_iters or 5000
self.n_cores = _check_ncores(n_cores)
self.dataset = None

Expand Down Expand Up @@ -403,7 +403,7 @@ class ALESubtraction(PairwiseCBMAEstimator):
def __init__(
self,
kernel_transformer=ALEKernel,
n_iters=10000,
n_iters=5000,
memory=Memory(location=None, verbose=0),
memory_level=0,
n_cores=1,
Expand Down Expand Up @@ -698,7 +698,7 @@ class SCALE(CBMAEstimator):
def __init__(
self,
xyz,
n_iters=10000,
n_iters=5000,
n_cores=1,
kernel_transformer=ALEKernel,
memory=Memory(location=None, verbose=0),
Expand Down
2 changes: 1 addition & 1 deletion nimare/meta/cbma/mkda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ def __init__(
**kwargs,
)
self.null_method = null_method
self.n_iters = None if null_method == "approximate" else n_iters or 10000
self.n_iters = None if null_method == "approximate" else n_iters or 5000
self.n_cores = _check_ncores(n_cores)
self.dataset = None

Expand Down

0 comments on commit d82af2e

Please sign in to comment.