On 9/9/11 6:00 AM, Gilles Sadowski wrote: > Hi. > > On Thu, Sep 08, 2011 at 10:27:00AM -0500, Greg Sterijevski wrote: >> Could you be contaminating the cross product matrix when you do your >> accumulation? I noticed one of the utility classes has methods for doing >> safe accumulations. I know that this was part of the problem when I was >> trying to estimate the Wampler data with the MillerRegression. Just a >> thought... > To make sure, I've tried replacing the "sum" calculation in "getCovariances" > with one using "linearCombination for "MathUtils" but it still fails, so it > seems that the (default) threshold is too small, and I need to be able to > change it.
Could be the best thing to do here is to make the DecompositionSolver pluggable (maybe just for the LMOptimizer, but with hooks in the base class)? That way you could provide an LU solver with whatever threshold you want or choose among the others. Do you know if the jTj matrix you end up trying to invert is analytically singular (like the one in the testNonInvertible test case for LMOptimizer)? Phil > > > Regards, > Gilles > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org