Menu

SVN archive Commit Log


Commit Date  
[r24571] by bugman

Changed the order of operations in the minimisation user function backends.

The specific analysis API overfit_deselect() method needs to be called before any grid bounds,
increments, or the scaling matrices are assembled. This is for the cases when the grid bounds or
scaling factors are functions rather than values.

2014-07-18 14:13:11 Tree
[r24570] by bugman

Modified the analysis specific API optimisation method.

The base calculate(), grid_search() and minimise() methods now all accept the scaling_matrix
argument, and the minimise() scaling argument has been removed. This scaling_matrix argument should
be a per-model list of scaling matrices.

To handle the change, the pipe_control.minimise.assemble_scaling_matrix() function has been created.
This uses the new parameter object scaling values to create the list of scaling matrices. This will
in the end replace all of the analysis specific assemble_scaling_matrix() functions and simplify
their optimisation code paths.

2014-07-18 13:51:10 Tree
[r24569] by bugman

Created the parameter object infrastructure for registering parameter scalings.

The _add() method now accepts the scaling keyword argument, which can be either a value or function.
This is then stored in the _scaling dictionary. The public method scaling() has been added to
return the scaling factor corresponding to the given parameter.

2014-07-18 13:03:54 Tree
[r24568] by bugman

More modifications of the minimise.grid_search user function backend.

The grid_bounds() function has been renamed to grid_setup(), and it now accepts and processes the
inc user function argument. The error checking code of the relaxation curve-fitting
grid_search_setup() optimisation function has been shifted into this analysis independent
grid_setup() function to shift the minimise.grid_search user function error checking out of the
specific analyses. The function now scales the parameter bounds, using the yet-to-be implemented
scaling() method of the parameter object. And the grid search increments are converted into a
per-model list of lists.

2014-07-18 12:43:07 Tree
[r24567] by bugman

Implemented infrastructure in the grid_search user function in preparation for the zooming grid.

The grid search backend now calls the new grid_bounds() function. This takes the lower and upper
bounds as arguments, uses the specific API to determine the per-model parameter grid search bounds,
and then returns a per model list of lower and upper bounds. The specific API get_param_names() and
get_param_values() are called to obtain the current model parameter names and values, and then the
parameter names and model info are used in the new parameter object grid_lower() and grid_upper()
methods to obtain the bounds. This shifts all of the grid search bounds logic out of the specific
analyses and into the grid search backend, so it should allow the specific analysis code to be
simplified.

2014-07-18 11:47:59 Tree
[r24566] by bugman

Modified the specific analysis parameter object grid_lower() and grid_upper() methods.

These now accept the model information from the model_loop() API method and send that into an grid
lower and upper functions. These functions will require the information to pull out the correct
spin, spin cluster, or other information from the current data pipe to determine what the bounds
should be.

2014-07-18 09:51:54 Tree
[r24565] by bugman

Created the parameter object infrastructure for adding the grid search lower and upper bounds.

The _add() method now accepts the grid_lower and grid_upper keyword arguments, which can be either
values or functions. These are then stored in the _grid_lower and _grid_upper class dictionaries.
The public methods grid_lower() and grid_upper() have been added to return the value corresponding
to the given parameter.

2014-07-18 09:05:51 Tree
[r24564] by bugman

Created the specific analysis API return_parameter_object() function.

This is used by the non-specific analysis code to obtain the parameter object (a singleton object).
It will allow for more direct access to the parameter information.

2014-07-18 09:02:52 Tree
[r24563] by bugman

Merged revisions 24562 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r24562 | bugman | 2014-07-18 10:58:56 +0200 (Fri, 18 Jul 2014) | 7 lines

Bug fix for the parameter units descriptions.

This only affects a few rare parameters. The specific analysis API parameter object units() method
was incorrectly checking if the units value is a function - it was checking the parameter conversion
factor instead.
........

2014-07-18 08:59:46 Tree
[r24562] by bugman

Bug fix for the parameter units descriptions.

This only affects a few rare parameters. The specific analysis API parameter object units() method
was incorrectly checking if the units value is a function - it was checking the parameter conversion
factor instead.

2014-07-18 08:58:56 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.