The scaling array for theta.
A double
array containing the scaling values for the parameters (theta).
The elements of the scaling array must be greater than zero. Scale
is used mainly in scaling the gradient and the distance between points. If good starting values of theta are known and are nonzero, then a good choice is Scale[i]=1.0/theta[i]
. Otherwise, if theta is known to be in the interval (-10.e5, 10.e5), set Scale[i]=10.e-5
. By default, the elements of the scaling array are set to 1.0.
By default, Scale
is an array of ones.
Exception Type | Condition |
---|---|
ArgumentException | is thrown thrown if any of the elements of Scale is set less than or equal to 0 |
NonlinearRegression Class | Imsl.Stat Namespace