Changeset 127
- Timestamp:
- 03/26/09 11:24:54 (7 years ago)
- Location:
- mystic
- Files:
-
- 5 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
mystic/ABOUT-MYSTIC.txt
r90 r127 51 51 < optimizer interface: slide #10 > 52 52 53 Mystic's Interface: (see MYSTIC-EXAMPLE.txt) -> uses example_getCost.py53 Mystic's Interface: (see MYSTIC-EXAMPLE.txt) -> uses test_getCost.py 54 54 * Model Factory Interface 55 55 * Cost Function Generation … … 71 71 72 72 ------------------------------------------------------------- 73 == Example 1: simple parabola == (examples/ example_getCost.py) ==73 == Example 1: simple parabola == (examples/test_getCost.py) == 74 74 - very simple forward model 75 75 - highlights several configuration options (esp. SetStrictRanges) -
mystic/NOTES
r95 r127 12 12 13 13 o mystic.derun => an optimization framework pyre application [NEEDS WORK!] 14 * mystic. example=> Chebyshev8 cost function14 * mystic.dummy => Chebyshev8 cost function 15 15 16 16 * mystic.differential_evolution => Price & Storn's DE solver … … 35 35 . factory.addModel() 36 36 . factory.getCostFunction[Slow]() 37 o mystic. example_getCost => example usage of CostFactory [NEEDS WORK!]37 o mystic.test_getCost => example usage of CostFactory [NEEDS WORK!] 38 38 - SIMPLE example: User-prepared cost function 39 39 - SIMPLE example: CostFactory-built cost function -
mystic/README
r126 r127 19 19 Notes on the "ffit" tests/examples: 20 20 - test_ffit: The fitting problem whose exact solution is 8th order Chebyshev polynomial of the first kind. This example uses a Ctrl-C signal handler. Try ctrl-c as the differential_evolution strategy is running. 21 - test_ffit2: The fitting problem whose exact solution is 16th order Chebyshev polynomial of the first kind. Also uses the signal_handler. 22 - test_ffitB: Same as test_ffit.py, but uses DifferentialEvolutionSolver2 instead of DifferentialEvolutionSolver. 23 - test_ffitC: Same as test_ffit.py, but uses scipy_optimize.fmin. 24 - test_ffitD: Same as test_ffit.py, but uses scipy_optimize.diffev. 25 21 26 22 27 Notes on the "mogi" tests/examples: -
mystic/examples/Make.mm
r126 r127 69 69 test_wavy.py \ 70 70 ## derun.py \ 71 ## example.py \72 example_getCost.py \71 ## dummy.py \ 72 test_getCost.py \ 73 73 forward_model.py \ 74 rosetta_parabola _example.py \75 rosetta_mogi _example.py \74 rosetta_parabola.py \ 75 rosetta_mogi.py \ 76 76 example01.py \ 77 77 example02.py \ -
mystic/examples/derun.py
r117 r127 34 34 probability.meta['tip'] = 'Differential Evolution crossover probability.' 35 35 36 costfunc = pyre.inventory.str('costfunc', default = ' example')36 costfunc = pyre.inventory.str('costfunc', default = 'dummy') 37 37 costfunc.meta['tip'] = 'The python module containing the cost-function and other data.' 38 38 … … 117 117 app.run() 118 118 119 # Chebyshev8 polynomial (used with " example.py")119 # Chebyshev8 polynomial (used with "dummy.py") 120 120 from mystic.models.poly import chebyshev8coeffs as target_coeffs 121 121 from mystic.models.poly import poly1d -
mystic/examples/dummy.py
r95 r127 10 10 11 11 """ 12 example.py12 dummy.py -- cost function container module for derun.py 13 13 """ 14 14 -
mystic/examples/test_getCost.py
r117 r127 1 1 #!/usr/bin/env python 2 2 """ 3 example_getCost.py3 test_getCost.py 4 4 Example to demonstrate use of CostFactory 5 5 """
Note: See TracChangeset
for help on using the changeset viewer.