orbit.utils.fitting.Solver_lib#
This is a collection of classes for a general optimization problem. The Scorer function should be minimized by changing the input parameters that are inside the trial point class instance. The user can define different search algorithms that are suitable for the particular problem. Also there are set of solver stoppers that will stop optimization process immediately (but stopper cannot interrupt processes inside the Scorer).
Functions
|
Method. |
Classes
|
The stopper implementation that will say True to "Should I Stop?" question if at least one of stoppers registered in it will say True. |
|
The stopper implementation that will say True to "Should I Stop?" question if the difference between two last best scores is less than the max accuracy. |
|
The stopper implementation that will say True to "Should I Stop?" question if the number of Scorer evaluation is more then the maximal allowable iterations. |
|
The stopper implementation that will say True to "Should I Stop?" question if the time is up. |
|
Class. |
|
Class. |
|
The stopper implementation that always says False to "Should I Stop?" question. |
|
Scoreboard class keeps the trace of all best scores (as tuple (score,TrialPoint)) in the Scores History Stack. |
|
This is an abstract class for actions inside Scoreboard. |
|
This class calculates the score for the trial point instance. |
|
The SearchAgorithm is an abstract class. |
|
The SolveStopper defines if we should stop solver's optimization process because of some condition. |
|
The Factory for stoppers. |
|
The class is a main class of the general fitting package. |
|
This a container class for VariableProxy instances. |
|
This class represents the parameter for the score function in the fitting process. |