A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | description | cmdstan3/cmdstanX | rstan/pystan | cmdstan2 | discussion | ||||||||||||||||||||
2 | data block values (either as file or in memory object) | data | data | data file | cmdstan2 has config hierarchy, "file" can be data or output filename; flattening argument structure will require "data_file" or just "data" | ||||||||||||||||||||
3 | number of chains to run | chains | chains | N/A | CmdstanX wrappers run multiple chains | ||||||||||||||||||||
4 | number of cores to use (optimistically) | cores | cores | N/A | CmdStanX wrappers can specify available cores | ||||||||||||||||||||
5 | number of iterations during warmup | iter_warmup | warmup | num_warmup | CmdStanPy currently has "warmup_iters", "sampling_iters", but will change | ||||||||||||||||||||
6 | number of iteractions during sampling | iter_sampling | N/A | num_sampling | |||||||||||||||||||||
7 | total number of iterations | N/A | iter | N/A | only need to implement total or sampling iters - prefer to specify sampling iters | ||||||||||||||||||||
8 | RNG seed | seed | seed | random_seed | can be specified on per-chain basis - continue to allow or single seed plus stride? | ||||||||||||||||||||
9 | ids - this is the stride passed into RNG | chain_ids | chain_id | id | making this plural matches "chains" "cores". the use of "id" is necessary in order to run multiple chains using the same seed. in the case where these chains are spread across nodes on a cluster, as opposed to running all chains via a single call to the "sample" method, the user needs a way to manage the offset. | ||||||||||||||||||||
10 | name of output file in stan_csv format with sampler config, (warmup iterations), metric, sampling iterations, timing | output_dir | sample_file | output file | CmdStan3 will be outputting more than one file and will have to do what CmdStanX wrappers are already doing - file name is a combination of model, chain, and output type | ||||||||||||||||||||
11 | name of file for extra HMC info | latent_dynamics_file | diagnostic_file | diagnostic_file | gradiant, unconstrained params, momenta realizations - objection to "diagnostic_file" is that the "diagnose" utility doesn't use these diagnostics. "extra_diagnostics", however, is equally vague. | ||||||||||||||||||||
12 | print status messages to console | refresh | refresh | refresh | report progress every X iterations | ||||||||||||||||||||
13 | NUTS-HMC controls for models which have parameters | don't expose all the other kinds of samplers available | |||||||||||||||||||||||
14 | set of initial parameter values | init_values | init=<list of per-chain named lists> | init=<filename> | cmdstan3 should allow both a list of initial parameter values as well as initial radius - for now wrapper interfaces can't have both init values and init radius because CmdStan conflates the two. | ||||||||||||||||||||
15 | initialize all parameter values to random value within interval -radius, radius | init_radius | init="random" init_r=<positive value> | init=<radius value> | |||||||||||||||||||||
16 | whether or not to save warmup iterations | save_warmup | save_warmup | save_warmup | |||||||||||||||||||||
17 | period between saved iteration | thin | thin | thin | |||||||||||||||||||||
18 | limits to maximum number of leapfrog algorithm steps | max_treedepth | max_treedepth | max_depth | |||||||||||||||||||||
19 | metric type: unit_e, diag_e, dense_e | inv_metric | metric | metric | |||||||||||||||||||||
20 | initial metric - diag or dense | inv_metric_file | N/A | metric_file | should be inv_metric_file in CmdStan3 | ||||||||||||||||||||
21 | initial step_size for HMC | step_size | stepsize | stepsize | "step_size" follows better naming conventions - worth changing? | ||||||||||||||||||||
22 | step size jitter | remove from all interfaces | stepsize_jitter | stepsize_jitter | intended as a way to keep adaptation from getting stuck, but now deemed unnecessary | ||||||||||||||||||||
23 | should sampler do adaptation? | adapt_engaged | adapt_engaged | engaged | |||||||||||||||||||||
24 | adaptation target acceptance statistic | adapt_delta | adapt_delta | delta | |||||||||||||||||||||
25 | additional controls to Nesterov dual-averaging algorithm | remove from all interfaces | adapt_gamma | gamma | only god can tune Nesterov algorithm; this was already proposed last summer - "get rid of jitter, kappa, gamma, and t0, as we haven’t seen any use cases for these parameters " | ||||||||||||||||||||
26 | adapt_kappa | kappa | |||||||||||||||||||||||
27 | adapt_t0 | t0 | |||||||||||||||||||||||
28 | adaptation schedule during warmup | adapt_init_phase_size | adapt_init_buffer | init_buffer | try to find the typical set | ||||||||||||||||||||
29 | adapt_term_phase_size | adapt_term_buffer | term_buffer | adapt step size given fixed inv metric | |||||||||||||||||||||
30 | adapt_base_window_size | adapt_window | window | the initial size for an exponentially growing number of draws used to estimate the metric. | |||||||||||||||||||||
31 | |||||||||||||||||||||||||
32 | save_latent_dynamics | flag used by CmdStanX interfaces to save diagnostics/grad_uparam file | |||||||||||||||||||||||
33 | Stan program, no parameters specified | fixed_param | algorithm="fixed_param" | fixed_param | run a Stan program which computes a set of QOIs | ||||||||||||||||||||
34 | |||||||||||||||||||||||||
35 | |||||||||||||||||||||||||
36 | |||||||||||||||||||||||||
37 | |||||||||||||||||||||||||
38 | |||||||||||||||||||||||||
39 | |||||||||||||||||||||||||
40 | |||||||||||||||||||||||||
41 | |||||||||||||||||||||||||
42 | |||||||||||||||||||||||||
43 | |||||||||||||||||||||||||
44 | |||||||||||||||||||||||||
45 | |||||||||||||||||||||||||
46 | |||||||||||||||||||||||||
47 | |||||||||||||||||||||||||
48 | |||||||||||||||||||||||||
49 | |||||||||||||||||||||||||
50 | |||||||||||||||||||||||||
51 | |||||||||||||||||||||||||
52 | |||||||||||||||||||||||||
53 | |||||||||||||||||||||||||
54 | |||||||||||||||||||||||||
55 | |||||||||||||||||||||||||
56 | |||||||||||||||||||||||||
57 | |||||||||||||||||||||||||
58 | |||||||||||||||||||||||||
59 | |||||||||||||||||||||||||
60 | |||||||||||||||||||||||||
61 | |||||||||||||||||||||||||
62 | |||||||||||||||||||||||||
63 | |||||||||||||||||||||||||
64 | |||||||||||||||||||||||||
65 | |||||||||||||||||||||||||
66 | |||||||||||||||||||||||||
67 | |||||||||||||||||||||||||
68 | |||||||||||||||||||||||||
69 | |||||||||||||||||||||||||
70 | |||||||||||||||||||||||||
71 | |||||||||||||||||||||||||
72 | |||||||||||||||||||||||||
73 | |||||||||||||||||||||||||
74 | |||||||||||||||||||||||||
75 | |||||||||||||||||||||||||
76 | |||||||||||||||||||||||||
77 | |||||||||||||||||||||||||
78 | |||||||||||||||||||||||||
79 | |||||||||||||||||||||||||
80 | |||||||||||||||||||||||||
81 | |||||||||||||||||||||||||
82 | |||||||||||||||||||||||||
83 | |||||||||||||||||||||||||
84 | |||||||||||||||||||||||||
85 | |||||||||||||||||||||||||
86 | |||||||||||||||||||||||||
87 | |||||||||||||||||||||||||
88 | |||||||||||||||||||||||||
89 | |||||||||||||||||||||||||
90 | |||||||||||||||||||||||||
91 | |||||||||||||||||||||||||
92 | |||||||||||||||||||||||||
93 | |||||||||||||||||||||||||
94 | |||||||||||||||||||||||||
95 | |||||||||||||||||||||||||
96 | |||||||||||||||||||||||||
97 | |||||||||||||||||||||||||
98 | |||||||||||||||||||||||||
99 | |||||||||||||||||||||||||
100 |