Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions autolens/config/general.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output:
fit_dill: false
fit_dill: false # Legacy fit-serialization flag; no reader found in the current library source.
test:
disable_positions_lh_inversion_check: false
disable_positions_lh_inversion_check: false # If True, allow pixelized-source fits without a positions likelihood.
88 changes: 44 additions & 44 deletions autolens/config/non_linear.yaml
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
nest:
DynestyDynamic:
initialize:
method: prior
method: prior # Legacy Dynesty YAML entry (searches now use constructor defaults): initializer method; prior draws initial samples from the model priors.
parallel:
force_x1_cpu: false
number_of_cores: 1
force_x1_cpu: false # Legacy Dynesty YAML entry (searches now use constructor defaults): if True, force the search to run on one CPU core.
number_of_cores: 1 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of CPU cores used by the search.
printing:
silence: false
silence: false # Legacy Dynesty YAML entry (searches now use constructor defaults): if True, suppress sampler progress output.
run:
dlogz_init: 0.01
logl_max_init: .inf
maxcall: null
maxcall_init: null
maxiter: null
maxiter_init: null
n_effective: .inf
n_effective_init: .inf
nlive_init: 500
dlogz_init: 0.01 # Legacy Dynesty YAML entry (searches now use constructor defaults): evidence stopping tolerance for the initial nested-sampling run.
logl_max_init: .inf # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood stopping bound for the initial run.
maxcall: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood evaluations for the run; null uses the sampler default.
maxcall_init: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood evaluations for the initial run; null uses the sampler default.
maxiter: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum sampler iterations for the run; null uses the sampler default.
maxiter_init: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum sampler iterations for the initial run; null uses the sampler default.
n_effective: .inf # Legacy Dynesty YAML entry (searches now use constructor defaults): target effective posterior sample size.
n_effective_init: .inf # Legacy Dynesty YAML entry (searches now use constructor defaults): target effective posterior sample size for the initial run.
nlive_init: 500 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of live points in the initial run.
search:
bootstrap: null
bound: multi
enlarge: null
facc: 0.2
first_update: null
fmove: 0.9
max_move: 100
sample: rwalk
slices: 5
update_interval: null
walks: 5
bootstrap: null # Legacy Dynesty YAML entry (searches now use constructor defaults): number of bootstrap realizations used to determine bound enlargement; null uses the sampler default.
bound: multi # Legacy Dynesty YAML entry (searches now use constructor defaults): bounding method for the live-point distribution.
enlarge: null # Legacy Dynesty YAML entry (searches now use constructor defaults): expansion factor for sampling bounds; null uses the sampler default.
facc: 0.2 # Legacy Dynesty YAML entry (searches now use constructor defaults): target acceptance fraction for random-walk sampling.
first_update: null # Legacy Dynesty YAML entry (searches now use constructor defaults): criteria for the first sampling-bound update; null uses the sampler default.
fmove: 0.9 # Legacy Dynesty fmove option; searches now use constructor arguments.
max_move: 100 # Legacy Dynesty max_move option; searches now use constructor arguments.
sample: rwalk # Legacy Dynesty YAML entry (searches now use constructor defaults): proposal method used to generate replacement live points.
slices: 5 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of slice-sampling steps per proposal.
update_interval: null # Legacy Dynesty YAML entry (searches now use constructor defaults): interval between sampling-bound updates; null uses the sampler default.
walks: 5 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of random-walk steps per proposal.
DynestyStatic:
initialize:
method: prior
method: prior # Legacy Dynesty YAML entry (searches now use constructor defaults): initializer method; prior draws initial samples from the model priors.
parallel:
number_of_cores: 1
number_of_cores: 1 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of CPU cores used by the search.
printing:
silence: false
silence: false # Legacy Dynesty YAML entry (searches now use constructor defaults): if True, suppress sampler progress output.
run:
dlogz: null
logl_max: .inf
maxcall: null
maxiter: null
n_effective: null
dlogz: null # Legacy Dynesty YAML entry (searches now use constructor defaults): evidence stopping tolerance for the nested-sampling run; null uses the sampler default.
logl_max: .inf # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood stopping bound for the run.
maxcall: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood evaluations for the run; null uses the sampler default.
maxiter: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum sampler iterations for the run; null uses the sampler default.
n_effective: null # Legacy Dynesty YAML entry (searches now use constructor defaults): target effective posterior sample size.
search:
bootstrap: null
bound: multi
enlarge: null
facc: 0.2
first_update: null
fmove: 0.9
max_move: 100
nlive: 50
sample: rwalk
slices: 5
update_interval: null
walks: 5
bootstrap: null # Legacy Dynesty YAML entry (searches now use constructor defaults): number of bootstrap realizations used to determine bound enlargement; null uses the sampler default.
bound: multi # Legacy Dynesty YAML entry (searches now use constructor defaults): bounding method for the live-point distribution.
enlarge: null # Legacy Dynesty YAML entry (searches now use constructor defaults): expansion factor for sampling bounds; null uses the sampler default.
facc: 0.2 # Legacy Dynesty YAML entry (searches now use constructor defaults): target acceptance fraction for random-walk sampling.
first_update: null # Legacy Dynesty YAML entry (searches now use constructor defaults): criteria for the first sampling-bound update; null uses the sampler default.
fmove: 0.9 # Legacy Dynesty fmove option; searches now use constructor arguments.
max_move: 100 # Legacy Dynesty max_move option; searches now use constructor arguments.
nlive: 50 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of live points used by nested sampling.
sample: rwalk # Legacy Dynesty YAML entry (searches now use constructor defaults): proposal method used to generate replacement live points.
slices: 5 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of slice-sampling steps per proposal.
update_interval: null # Legacy Dynesty YAML entry (searches now use constructor defaults): interval between sampling-bound updates; null uses the sampler default.
walks: 5 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of random-walk steps per proposal.
8 changes: 4 additions & 4 deletions autolens/config/output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ default: true # If true then files which are not explicitly listed here are outp
# the `samples_summary.json` file. However, without a `samples.csv` file these types of tasks cannot be performed
# after the fit is complete, for example via the database.

samples: true
samples: true # If True, retain the sampled parameter values, likelihoods and weights in samples.csv.

# The `samples.csv` file contains every accepted sampled value of every free parameter with its log likelihood and
# weight. For certain searches, the majority of samples have a very low weight and have no numerical impact on the
Expand All @@ -31,7 +31,7 @@ samples: true

# Set value to empty (e.g. delete 1.0e-10 below) to disable this feature.

samples_weight_threshold: 1.0e-10
samples_weight_threshold: 1.0e-10 # Exclude samples with weights below this threshold from samples.csv; null disables filtering.

### Search Internal ###

Expand All @@ -53,7 +53,7 @@ samples_weight_threshold: 1.0e-10
# every walker. This information is required to do certain analyes and make certain plots, therefore deleting the
# folder means this information is list.

search_internal: false
search_internal: false # If False, delete the search internal checkpoint directory after the fit completes.

### Start Point ###

Expand All @@ -62,7 +62,7 @@ search_internal: false
# the visualizer wrapped in the Analysis class, and therefore should show things like the quality of the fit
# to the data and the residuals at the start point.

start_point: true
start_point: true # If True, output visualization of the initializer start-point fit.

### Latent Variables ###

Expand Down
2 changes: 1 addition & 1 deletion autolens/config/visualize/plots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dataset: # Settings for plots of all datasets
subplot_dataset: true # Plot subplot containing all dataset quantities (e.g. the data, noise-map, etc.)?

positions: # Settings for plots with resampling image-positions on (e.g. the image).
image_with_positions: true
image_with_positions: true # If True, output the image with the positions overlaid.

fit: # Settings for plots of all fits (e.g. FitImaging, FitInterferometer).
subplot_fit: true # Plot subplot of all fit quantities for any dataset (e.g. the model data, residual-map, etc.)?
Expand Down
Loading