SimonBiggs / electronfactors

Spline model for electron insert factors
GNU Affero General Public License v3.0
6 stars 2 forks source link

Make the "model creation loop" continue until change in predicted dose is < 0.1% #22

Closed SimonBiggs closed 9 years ago

SimonBiggs commented 9 years ago

For each shape parametrisation, also do a "shape removed" model prediction. When every shapes predicted ROF changes by less than 0.1% then sufficient accuracy has been achieved to stop the iterations.

Could also potentially ease up on "n". At the moment n=5, however, with this boundary definition n=3 might be sufficient, and it would be significantly faster.

SimonBiggs commented 9 years ago

This prediction factor needs to be stored in the output yaml so that it can be compared on the next loop.

SimonBiggs commented 9 years ago

No longer need a loop. Not necessary :)