Re: [math] RegressionModelSpecificationException

2011-07-21 Thread Phil Steitz
On 7/21/11 6:53 PM, Greg Sterijevski wrote: >> >> +1 from me as well (does that even count?). Thanks! And yes, "that counts" - in fact it carries a lot of weight because you have contributed more than anyone else to this area recently. We operate a "do-ocracy" here :) > As an aside, I believe we

Re: [math] RegressionModelSpecificationException

2011-07-21 Thread Greg Sterijevski
> > > +1 from me as well (does that even count?). As an aside, I believe we will be adding more exceptions. The number of ways to screw up a regression is limited only by the user's imagination. As we finalize how we deal with obviously redundant regressors, that might be a new exception as well.

Re: [math] RegressionModelSpecificationException

2011-07-21 Thread Gilles Sadowski
On Thu, Jul 21, 2011 at 12:42:23PM -0700, Phil Steitz wrote: > On 7/21/11 11:18 AM, Gilles Sadowski wrote: > > On Thu, Jul 21, 2011 at 10:48:40AM -0700, Phil Steitz wrote: > >> I propose that we add this to replace the generic math IAE that we > >> throw in various places, e.g. in AbstractMLR#newSa

Re: [math] RegressionModelSpecificationException

2011-07-21 Thread Phil Steitz
On 7/21/11 11:18 AM, Gilles Sadowski wrote: > On Thu, Jul 21, 2011 at 10:48:40AM -0700, Phil Steitz wrote: >> I propose that we add this to replace the generic math IAE that we >> throw in various places, e.g. in AbstractMLR#newSampleData, >> >> throw MathRuntimeException.createIllegalArgumentExcep

Re: [math] RegressionModelSpecificationException

2011-07-21 Thread Gilles Sadowski
On Thu, Jul 21, 2011 at 10:48:40AM -0700, Phil Steitz wrote: > I propose that we add this to replace the generic math IAE that we > throw in various places, e.g. in AbstractMLR#newSampleData, > > throw MathRuntimeException.createIllegalArgumentException( > LocalizedFormats.INVA

Re: [math] RegressionModelSpecificationException

2011-07-21 Thread Luc Maisonobe
Le 21/07/2011 19:48, Phil Steitz a écrit : I propose that we add this to replace the generic math IAE that we throw in various places, e.g. in AbstractMLR#newSampleData, throw MathRuntimeException.createIllegalArgumentException( LocalizedFormats.INVALID_REGRESSION_ARRAY, dat

[math] RegressionModelSpecificationException

2011-07-21 Thread Phil Steitz
I propose that we add this to replace the generic math IAE that we throw in various places, e.g. in AbstractMLR#newSampleData, throw MathRuntimeException.createIllegalArgumentException( LocalizedFormats.INVALID_REGRESSION_ARRAY, data.length, nobs, nvars); This exception, mostl