commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Italo Maia <italom...@hotmail.com>
Subject RE: [math]
Date Thu, 05 Jul 2012 22:02:29 GMT

Oh my. Fair enough. Here is a sample data. 

http://pastebin.com/MkQrE8d2

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 publish something about the code. CurveFitter seems very
devoided of love.

> Date: Thu, 5 Jul 2012 23:52:31 +0200
> From: gilles@harfang.homelinux.org
> To: user@commons.apache.org
> Subject: Re: [math]
> 
> Hello.
> 
> On Thu, Jul 05, 2012 at 09:19:17PM +0000, Italo Maia wrote:
> > 
> > Here you go: http://pastebin.com/UR0GV7ST
> > 
> 
> I'd think that it would be better not to use such a site, since it seems
> that the contents will be removed at some point, leading to this thread
> being impossible to follow in the archive.
> [Maybe other people on the ML could give their opinion on this aspect.]
> 
> The subject of this thread is not very clear either. :-}
> 
> > 
> > Unfortunatly I can't provide the matrix data. : /
> 
> So, how am I supposed to know what is going on?
> Clearly if you define the "gradient" method as on the above page, it cannot
> work.
> 
> Please provide, in an attached file, a working example, showing what you
> tried and what result you obtained.
> 
> Regards,
> Gilles
> 
> > 
> > > Date: Thu, 5 Jul 2012 23:06:18 +0200
> > > From: gilles@harfang.homelinux.org
> > > To: user@commons.apache.org
> > > Subject: Re: [math]
> > > 
> > > On Thu, Jul 05, 2012 at 08:35:28PM +0000, Italo Maia wrote:
> > > > 
> > > > No juice. Hell! The initial function I'm trying to fit is:
> > > > 
> > > > f(t, a, b, c) = a * t^b * exp(t*-c)
> > > > 
> > > > I had the log of it to make it linear:
> > > > 
> > > > 
> > > > f(t, a, b, c) = log(a) + b*log(t) - c*t
> > > > 
> > > > I was using the log to do the fitting in python with scipy. With CurveFitter
should I do the same?
> > > 
> > > Please show the code.
> > > 
> > > 
> > > Regards,
> > > Gilles
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > > For additional commands, e-mail: user-help@commons.apache.org
> > > 
> >  		 	   		  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message