Commit | Date | |
---|---|---|
[r25335]
by
bugman
Changed the relax_fit.py sample script to use Newton rather than Simplex optimisation. This can lead to significantly faster optimisation times, as shown in the commit message |
2014-08-27 11:38:24 | Tree |
[r25334]
by
tlinnet
Implemented the use of "Newton" as minimisation algorithm for R2eff curve fitting instead of simplex. Running the test script: For 50 Monte-Carlo simulations, the time drop from: task #7822(https://gna.org/task/index.php?7822): Implement user function to estimate R2eff and associated errors for exponential curve fitting. |
2014-08-27 11:22:45 | Tree |
[r25333]
by
tlinnet
Set the constraints=False, when doing Monte-Carlo simulations for R2eff. This is to speed-up the Monte-Carlo simulations by a factor X10, when estimating the error for R2eff. task #7822(https://gna.org/task/index.php?7822): Implement user function to estimate R2eff and associated errors for exponential curve fitting. |
2014-08-27 11:22:43 | Tree |
[r25332]
by
tlinnet
Tried to verify solution to profiling script. task #7822(https://gna.org/task/index.php?7822): Implement user function to estimate R2eff and associated errors for exponential curve fitting. |
2014-08-27 11:22:41 | Tree |
[r25331]
by
tlinnet
Modified profiling script to calculate timings. The timings for C-code are: This is pretty pretty fast. To this profiling script, I would also now add some verification on calculations. Profile, with constraints, C code, Simplex 724946 function calls (723444 primitive calls) in 2.192 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) Verify, without constraints, C code, Simplex 76042 function calls (74654 primitive calls) in 0.216 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) Verify, without constraints, C code BFGS 25618 function calls (24230 primitive calls) in 0.079 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) Verify, without constraints, C code Newton 14572 function calls (13184 primitive calls) in 0.031 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) Verify, with constraints, Python, Simplex 808444 function calls (806942 primitive calls) in 3.108 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) Verify, without constraints, Python, Simplex 87492 function calls (86104 primitive calls) in 0.320 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) Verify, without constraints, Python Scipy 6600 function calls (5212 primitive calls) in 0.020 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) task #7822(https://gna.org/task/index.php?7822): Implement user function to estimate R2eff and associated errors for exponential curve fitting. |
2014-08-27 09:49:21 | Tree |
[r25330]
by
tlinnet
Tried to implement the Jacobian from C-code. This though also report errors which are to small. Maybe some scaling is wrong. task #7822(https://gna.org/task/index.php?7822): Implement user function to estimate R2eff and associated errors for exponential curve fitting. |
2014-08-27 09:29:24 | Tree |
[r25329]
by
tlinnet
Implemented the first try to compute the Variance of R2eff and i0, by the co-variance. This uses the Jacobian matrix. task #7822(https://gna.org/task/index.php?7822): Implement user function to estimate R2eff and associated errors for exponential curve fitting. |
2014-08-27 09:12:50 | Tree |
[r25328]
by
bugman
Merged revisions 25317-25319,25321-25327 via svnmerge from ........ |
2014-08-27 08:54:27 | Tree |
[r25327]
by
bugman
The minimisation statistics are now being reset for all analysis types. The minimise.calcululate, minimise.grid_search, and minimise.execute user functions now all reset The equivalent functionality from the model-free minimise() API method has been removed. |
2014-08-27 08:45:28 | Tree |
[r25326]
by
bugman
The model-free reset_min_stats() function has been replaced with the pipe_control.minimise version. The specific_analyses.model_free.optimisation.reset_min_stats() function has been deleted and |
2014-08-27 08:10:57 | Tree |