Re: [math] Updating Regression questions..

2011-09-10 Thread Greg Sterijevski
Thanks, -Greg On Sat, Sep 10, 2011 at 4:11 PM, Gilles Sadowski < gil...@harfang.homelinux.org> wrote: > > Wrong ML thread. > > On Sat, Sep 10, 2011 at 03:49:25PM -0500, Greg Sterijevski wrote: > > Sebastian, > > > > The only observation I made is in the JIRA notes. Use thread safe > > collections

Re: [math] Updating Regression questions..

2011-09-10 Thread Phil Steitz
On 9/10/11 11:02 AM, Greg Sterijevski wrote: > One more question, if the request list is null, what is the proper return? A > null or is an exception returned? IAE Phil > On Sat, Sep 10, 2011 at 12:15 PM, Greg Sterijevski > wrote: > >> Hi All, >> >> Another mostly exceptional question from me! In

Re: [math] Updating Regression questions..

2011-09-10 Thread Phil Steitz
On 9/10/11 10:15 AM, Greg Sterijevski wrote: > Hi All, > > Another mostly exceptional question from me! In the > interface UpdatingMultipleLinearRegression, we have regress() and > regress(int[] variablesToInclude). > > 1. What is the appropriate exception to throw when there is a variable index >

Re: [math] Updating Regression questions..

2011-09-10 Thread Gilles Sadowski
Wrong ML thread. On Sat, Sep 10, 2011 at 03:49:25PM -0500, Greg Sterijevski wrote: > Sebastian, > > The only observation I made is in the JIRA notes. Use thread safe > collections for the listener lists. There is a bit of overhead, but if you > have long running optimizations you might want to c

Re: [math] Updating Regression questions..

2011-09-10 Thread Greg Sterijevski
Sebastian, The only observation I made is in the JIRA notes. Use thread safe collections for the listener lists. There is a bit of overhead, but if you have long running optimizations you might want to connect, get the state of the optimization and then disconnect. Thanks, -Greg On Sat, Sep 10,

Re: [math] Updating Regression questions..

2011-09-10 Thread Gilles Sadowski
On Sat, Sep 10, 2011 at 01:02:30PM -0500, Greg Sterijevski wrote: > One more question, if the request list is null, what is the proper return? A > null or is an exception returned? I think that we didn't quite decided whether to always check for null argument, or let the JVM generate a standard "N

Re: [math] Updating Regression questions..

2011-09-10 Thread Gilles Sadowski
Hello. > > Another mostly exceptional question from me! In the > interface UpdatingMultipleLinearRegression, we have regress() and > regress(int[] variablesToInclude). > > 1. What is the appropriate exception to throw when there is a variable index > in the array which does not exist in the data

Re: [math] Updating Regression questions..

2011-09-10 Thread Greg Sterijevski
One more question, if the request list is null, what is the proper return? A null or is an exception returned? On Sat, Sep 10, 2011 at 12:15 PM, Greg Sterijevski wrote: > Hi All, > > Another mostly exceptional question from me! In the > interface UpdatingMultipleLinearRegression, we have regress(

[math] Updating Regression questions..

2011-09-10 Thread Greg Sterijevski
Hi All, Another mostly exceptional question from me! In the interface UpdatingMultipleLinearRegression, we have regress() and regress(int[] variablesToInclude). 1. What is the appropriate exception to throw when there is a variable index in the array which does not exist in the data? For example