Use of ShoWProgress option (part 2)
- To: mathgroup at smc.vnet.net
- Subject: [mg34793] Use of ShoWProgress option (part 2)
- From: Andre Heinemann <heinemann at hmi.de>
- Date: Fri, 7 Jun 2002 01:08:55 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Sorry, DrBob, but you have got my last message in an incomplet form by some reasons. So I will send my original question again. (see below) Like Johannes Ludsteck I checked also the NonlinearFit.m package for the print statment to substitute it but I can't find it (May be it was moved to the kernel ?) Of cause a "brute force" methode is th set MaxIterations->1 and start again and again in a loop with the new output as a new start parameter. For me tihs is not the "smartest" way to use mathematica because it cost time (CPU and man-power) . May be the discussion of the topic: > Re: [mg34786] RE: [mg34749] RE: [mg34709] Re: [mg34705] Is it possible to access internal variables? can help me, but up to now I have problems to understand the discused examples. ------------------- original message ------------------------------------------ ... may be my question was not clear in detail, but I realy can't find a solution. I will show you an example from the help browswer to ilustrate my problem. From: To: mathgroup at smc.vnet.net data={{1.0,1.0,.126},{2.0,1.0,.219},{1.0,2.0,.076},{2.0, 2.0,.126},{.1,.0,.186}}; NonlinearRegress[data, theta1 theta3 x1/(1+theta1 x1+theta2 x2),{x1,x2},{theta1,theta2,theta3}, RegressionReport->BestFitParameters,ShowProgress->True] I get: From In[396]:= Iteration:1 ChiSquared:0.23634239210284666` Parameters:{1.,1.,1.} (snip snap) 8>< From In[396]:= Iteration:11 ChiSquared:0.000043552662305849804` \ Parameters:{3.13156,15.1594,0.780051} Out[396]= {BestFitParameters\[Rule]{theta1\[Rule]3.13151,theta2\[Rule]15.1594, theta3\[Rule]0.780062}} My aim is to get !automaticaly! a list like this: {{Iteration:1,{1.,1.,1.}},...,{Iteration:11,{3.13156,15.1594,0.780051}},...,} May be this problem is very easy to solve, but I found only the "Hand made solution" of copy and paste - this is not the way I want to use a computer (-; So if you have any idea how to solve this problem, please give me a hint. ----------------------------end of original message ------------------------------------------ Thanks, Andre