On 7/20/11 9:27 PM, Greg Sterijevski wrote: > Hello, > > In attempting to build constrained ols into the OLSMultipleLinearRegression > class, I rediscovered the fact that to keep the regression coefficients in > their canonical order, I need to know how the QR decomposition pivoted. In > other words, while I get the correct constrained parameters, their order is > changed. Is there any way to get this info out (pivot order)?
Can you explain a little more exactly what you are trying to do? How exactly is the parameter vector getting permuted? The QRDecomp solver certainly should not do that. See the QRDecomp sources for what is exposed in the public API. We can talk about adding more, but we should be careful about exposing more implementation details. You can now get the Householder reflection vectors and obviously the decomp itself. As you can see from the sources, the current OLS impl just uses the solver. Phil > > Thanks, > > -Greg > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org