The userguide [1] mentions that it is currently not directly possible to contrain parameters directly but suggest one can use the ParameterValidator, is there any example code for both mentioned alternatives?

For example GaussianCurveFitter uses LeastSquaresBuilder and I wan't to archive that the mean is within a closed bound e.g from 5 to 6 where my datapoints ranges from 0..90, how would this be archived?

I'm especially interested because the FUNCTION inside GaussianCurveFitter seems to reject invalid values (e.g. negative valuenorm) by simply return Double.POSITIVE_INFINITY instead of using either approach described in the user-docs.


[1] https://commons.apache.org/proper/commons-math/userguide/leastsquares.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to