public class NonlinearRegressionEx3 extends Object
Fits a nonlinear regression on scaled data.
In this example some non default tolerances and scales are used to fit a nonlinear model. The data is \(1.e-10\) times the data of exampleNonlinearRegressionEx1
. In order to fit this model without rescaling
the data we first set the absolute function tolerance to \(0.0\). The default
value would have caused the program to terminate after one iteration because
the residual sum of squares is roughly \(1.e-19\). We also set the relative
function tolerance to \(0.0\). The gradient tolerance is properly scaled for
this problem so we leave it at its default value. Finally, we set the
elements of scale to be the absolute value of the reciprocal of the starting
value. The derivatives are obtained by finite differences.Constructor and Description |
---|
NonlinearRegressionEx3() |
Copyright © 2020 Rogue Wave Software. All rights reserved.