|
2 | 2 |
|
3 | 3 | # **PyAutoFit** supports the following maximum likelihood estimator (MLE) algorithms: |
4 | 4 |
|
5 | | -# - PySwarms: https://github.com/ljvmiranda921/pyswarms / https://pyswarms.readthedocs.io/en/latest/index.html |
6 | | - |
7 | | -# Settings in the [search], [run] and [options] entries are specific to each nested algorithm and should be |
| 5 | +# Settings in the [search], [run] and [options] entries are specific to each algorithm and should be |
8 | 6 | # determined by consulting that method's own readthedocs. |
9 | 7 |
|
10 | | -PySwarmsGlobal: |
11 | | - run: |
12 | | - iters: 2000 |
13 | | - search: |
14 | | - cognitive: 0.5 |
15 | | - ftol: -.inf |
16 | | - inertia: 0.9 |
17 | | - n_particles: 50 |
18 | | - social: 0.3 |
19 | | - initialize: # The method used to generate where walkers are initialized in parameter space {prior | ball}. |
20 | | - method: ball # priors: samples are initialized by randomly drawing from each parameter's prior. ball: samples are initialized by randomly drawing unit values from a narrow uniform distribution. |
21 | | - ball_lower_limit: 0.49 # The lower limit of the uniform distribution unit values are drawn from when initializing walkers using the ball method. |
22 | | - ball_upper_limit: 0.51 # The upper limit of the uniform distribution unit values are drawn from when initializing walkers using the ball method. |
23 | | - parallel: |
24 | | - number_of_cores: 1 # The number of cores the search is parallelized over by default, using Python multiprocessing. |
25 | | - printing: |
26 | | - silence: false # If True, the default print output of the non-linear search is silcened and not printed by the Python interpreter. |
27 | | - iterations_per_full_update: 500 # Non-linear search iterations between every full update, which outputs all visuals and result fits (e.g. model.result, search.summary), this exits the search and can be slow. |
28 | | - iterations_per_quick_update: 500 # Non-linear search iterations between every quick update, which just displays the maximum likelihood model fit. |
29 | | - remove_state_files_at_end: true # Whether to remove the savestate of the seach (e.g. the Emcee hdf5 file) at the end to save hard-disk space (results are still stored as PyAutoFit pickles and loadable). |
30 | | -PySwarmsLocal: |
31 | | - run: |
32 | | - iters: 2000 |
33 | | - search: |
34 | | - cognitive: 0.5 |
35 | | - ftol: -.inf |
36 | | - inertia: 0.9 |
37 | | - minkowski_p_norm: 2 |
38 | | - n_particles: 50 |
39 | | - number_of_k_neighbors: 3 |
40 | | - social: 0.3 |
41 | | - initialize: # The method used to generate where walkers are initialized in parameter space {prior | ball}. |
42 | | - method: ball # priors: samples are initialized by randomly drawing from each parameter's prior. ball: samples are initialized by randomly drawing unit values from a narrow uniform distribution. |
43 | | - ball_lower_limit: 0.49 # The lower limit of the uniform distribution unit values are drawn from when initializing walkers using the ball method. |
44 | | - ball_upper_limit: 0.51 # The upper limit of the uniform distribution unit values are drawn from when initializing walkers using the ball method. |
45 | | - parallel: |
46 | | - number_of_cores: 1 # The number of cores the search is parallelized over by default, using Python multiprocessing. |
47 | | - printing: |
48 | | - silence: false # If True, the default print output of the non-linear search is silcened and not printed by the Python interpreter. |
49 | | - iterations_per_full_update: 500 # Non-linear search iterations between every full update, which outputs all visuals and result fits (e.g. model.result, search.summary), this exits the search and can be slow. |
50 | | - iterations_per_quick_update: 500 # Non-linear search iterations between every quick update, which just displays the maximum likelihood model fit. |
51 | | - remove_state_files_at_end: true # Whether to remove the savestate of the seach (e.g. the Emcee hdf5 file) at the end to save hard-disk space (results are still stored as PyAutoFit pickles and loadable). |
52 | 8 | BFGS: |
53 | 9 | search: |
54 | 10 | tol: null |
|
0 commit comments