Re: [math]

2012-07-06 Thread Gilles Sadowski
On Thu, Jul 05, 2012 at 10:02:29PM +, Italo Maia wrote: Oh my. Fair enough. Here is a sample data. http://pastebin.com/MkQrE8d2 See below. The values of a, b and c for this sample data, for best fitting, are: A: 1.0782 B: 0.4583 C: 0.0166 When everything is working, I'll

Samuel Pio Joseph is out of the office.

2012-07-06 Thread sajoseph
I will be out of the office starting 07/06/2012 and will not return until 07/09/2012. I will respond to your message when I return. Please contact Vinothkumar Alagesan/Vijayan Periasamy for Diagnostics related efforts. Please contact Albert J Stark/Kannan Perichiappan for any esclations.

Re: [digester] Reading in Enums

2012-07-06 Thread Simone Tripodi
Hi Neil, apologize for the late reply - the Digester relies on BeanUtils to perform text to Java object unmarshalling, so for your enumeration(s) type you have to plug the needed converter. Have a look at Data Type Conversions[1] to understand how to convert the extracted XML body text to

RE: [math]

2012-07-06 Thread Italo Maia
A full working example attached. Date: Fri, 6 Jul 2012 11:53:05 +0200 From: gil...@harfang.homelinux.org To: user@commons.apache.org Subject: Re: [math] On Thu, Jul 05, 2012 at 10:02:29PM +, Italo Maia wrote: Oh my. Fair enough. Here is a sample data.

RE: [math]

2012-07-06 Thread Italo Maia
a, b and c for this example should be: A: 1.0782 B: 0.4583 C: 0.0166 From: italom...@hotmail.com To: user@commons.apache.org Subject: RE: [math] Date: Fri, 6 Jul 2012 16:24:21 + A full working example attached. Date: Fri, 6 Jul 2012 11:53:05 +0200 From:

Re: [exec] Portability of Different Approaches across Windows and OpenVMS

2012-07-06 Thread sebb
On 5 July 2012 20:12, Jordan Grant jordangr...@carfax.com wrote: I have written two implementations using commons-exec that are functionally the same in Windows, but our production environment is in OpenVMS. I am curious as to whether one approach or the other is preferred for portability.

RE: [exec] Portability of Different Approaches across Windows and OpenVMS

2012-07-06 Thread Jordan Grant
Thank you for the tip, I will implement that soon. I guess the root of my question is, is there any downside to using the more concise DefaultExecutor approach? -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Friday, July 06, 2012 12:19 PM To: Commons Users List Subject:

Re: [math]

2012-07-06 Thread Gilles Sadowski
Hi. If you are using the function a * Math.pow(t, b) * Math.exp(-c * t) the gradient is: { Math.pow(t, b) * Math.exp(-c * t), a * Math.log(t) * Math.pow(t, b) * Math.exp(-c * t), -a * t Math.pow(t, b) * Math.exp(-c * t) } // No idea what goes here. Nothing seems to work. Well,

RE: [math]

2012-07-06 Thread Italo Maia
Hummm, so my assumption that my previous values for a, b and c were the best are wrong. I calculated the resid and it is really smaller. Real thanks for that! Any tips on calculating the r-squared? Date: Fri, 6 Jul 2012 22:05:26 +0200 From: gil...@harfang.homelinux.org To:

Re: [exec] Portability of Different Approaches across Windows and OpenVMS

2012-07-06 Thread sebb
On 6 July 2012 20:09, Jordan Grant jordangr...@carfax.com wrote: Thank you for the tip, I will implement that soon. I guess the root of my question is, is there any downside to using the more concise DefaultExecutor approach? If you want to be sure, check what the code does. This is open

Re: [math]

2012-07-06 Thread Gilles Sadowski
On Fri, Jul 06, 2012 at 09:39:30PM +, Italo Maia wrote: Hummm, so my assumption that my previous values for a, b and c were the best are wrong. I calculated the resid and it is really smaller. Real thanks for that! I wouldn't take the difference too seriously, given that the data are

RE: [math]

2012-07-06 Thread Italo Maia
Had this to calculate the rsquared: OLSMultipleLinearRegression regression = new OLSMultipleLinearRegression(); regression.newSampleData(curve_totals, data); System.out.println(rsquared: + regression.calculateRSquared()); Where curve_totals is the value calculated with Fnc.fnc and the