You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pymc_experimental/inference/pathfinder/pathfinder.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -780,7 +780,7 @@ def multipath_pathfinder(
780
780
781
781
deffit_pathfinder(
782
782
model=None,
783
-
num_paths: int=6, # I
783
+
num_paths: int=8, # I
784
784
num_draws: int=1000, # R
785
785
num_draws_per_path: int=1000, # M
786
786
maxcor: int|None=None, # J
@@ -809,13 +809,13 @@ def fit_pathfinder(
809
809
model : pymc.Model
810
810
The PyMC model to fit the Pathfinder algorithm to.
811
811
num_paths : int
812
-
Number of independent paths to run in the Pathfinder algorithm. (default is 6)
812
+
Number of independent paths to run in the Pathfinder algorithm. (default is 8)
813
813
num_draws : int, optional
814
814
Total number of samples to draw from the fitted approximation (default is 1000).
815
815
num_draws_per_path : int, optional
816
816
Number of samples to draw per path (default is 1000).
817
817
maxcor : int, optional
818
-
Maximum number of variable metric corrections used to define the limited memory matrix (default is None). If None, maxcor is set to int(floor(N / 1.9)).
818
+
Maximum number of variable metric corrections used to define the limited memory matrix (default is None). If None, maxcor is set to int(floor(N / 1.9)) or 5 whichever is greater.
819
819
maxiter : int, optional
820
820
Maximum number of iterations for the L-BFGS optimisation (default is 1000).
0 commit comments