Changeset 127


Ignore:
Timestamp:
03/26/09 11:24:54 (7 years ago)
Author:
mmckerns
Message:

renamed some examples to better conform to 'examples' naming convention

Location:
mystic
Files:
5 edited
4 moved

Legend:

Unmodified
Added
Removed
  • mystic/ABOUT-MYSTIC.txt

    r90 r127  
    5151  < optimizer interface: slide #10 > 
    5252 
    53 Mystic's Interface:  (see MYSTIC-EXAMPLE.txt) -> uses example_getCost.py 
     53Mystic's Interface:  (see MYSTIC-EXAMPLE.txt) -> uses test_getCost.py 
    5454 * Model Factory Interface 
    5555 * Cost Function Generation 
     
    7171 
    7272------------------------------------------------------------- 
    73 == Example 1: simple parabola == (examples/example_getCost.py) ==  
     73== Example 1: simple parabola == (examples/test_getCost.py) ==  
    7474- very simple forward model 
    7575- highlights several configuration options (esp. SetStrictRanges) 
  • mystic/NOTES

    r95 r127  
    1212 
    1313 o mystic.derun => an optimization framework pyre application [NEEDS WORK!] 
    14  * mystic.example => Chebyshev8 cost function 
     14 * mystic.dummy => Chebyshev8 cost function 
    1515 
    1616 * mystic.differential_evolution => Price & Storn's DE solver 
     
    3535     . factory.addModel() 
    3636     . 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!] 
    3838   - SIMPLE example: User-prepared cost function 
    3939   - SIMPLE example: CostFactory-built cost function 
  • mystic/README

    r126 r127  
    1919Notes on the "ffit" tests/examples: 
    2020 - 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 
    2126 
    2227Notes on the "mogi" tests/examples: 
  • mystic/examples/Make.mm

    r126 r127  
    6969    test_wavy.py \ 
    7070##  derun.py \ 
    71 ##  example.py \ 
    72     example_getCost.py \ 
     71##  dummy.py \ 
     72    test_getCost.py \ 
    7373    forward_model.py \ 
    74     rosetta_parabola_example.py \ 
    75     rosetta_mogi_example.py \ 
     74    rosetta_parabola.py \ 
     75    rosetta_mogi.py \ 
    7676    example01.py \ 
    7777    example02.py \ 
  • mystic/examples/derun.py

    r117 r127  
    3434        probability.meta['tip'] = 'Differential Evolution crossover probability.' 
    3535 
    36         costfunc = pyre.inventory.str('costfunc', default = 'example') 
     36        costfunc = pyre.inventory.str('costfunc', default = 'dummy') 
    3737        costfunc.meta['tip'] = 'The python module containing the cost-function and other data.' 
    3838 
     
    117117    app.run() 
    118118 
    119     # Chebyshev8 polynomial (used with "example.py") 
     119    # Chebyshev8 polynomial (used with "dummy.py") 
    120120    from mystic.models.poly import chebyshev8coeffs as target_coeffs 
    121121    from mystic.models.poly import poly1d 
  • mystic/examples/dummy.py

    r95 r127  
    1010 
    1111""" 
    12 example.py 
     12dummy.py -- cost function container module for derun.py 
    1313""" 
    1414 
  • mystic/examples/test_getCost.py

    r117 r127  
    11#!/usr/bin/env python 
    22""" 
    3 example_getCost.py 
     3test_getCost.py 
    44Example to demonstrate use of CostFactory 
    55""" 
Note: See TracChangeset for help on using the changeset viewer.