Science Forums: IMPORTANT what should be my first guess? - Science Forums

Jump to content

Welcome to ScienceForums.Net!

Welcome to ScienceForums.Net! We welcome science discussion at all levels — from beginners to researchers, covering topics from biology to computer science, and much more. Registration is fast and free, and allows you to post on the forums, so register now and join the discussions!
  
After you've registered, come in and introduce yourself, or visit the forum index. If you need any help  registering, posting, or if you just have some questions about our site, please feel free to contact us at staff at scienceforums dot net.

  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Create a ScienceForums.Net Blog!
Guest Message © 2012 DevFuse
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

IMPORTANT what should be my first guess? need help ASAP !!! Rate Topic: -----

#1 Farzad Bashtani 


Lepton
Im planning to solve the following problem with trial and error in c++

Quote


find the minimum value of the following function .

Posted Image


"yi" and "xi" are the result of a complicated analysis on my lab data and I need to find a,b,c in a way that COST(a,b,c) function to be minimum.




after solving this equation by calculating the partial derivatives and force them to be equal to ZERO we obtain the attached equations for a b c.



Attached Image: a.JPG

Attached Image: b.JPG

Attached Image: c.JPG


as you can see we have to use the trial and error method to solve this problem for a b c

the problem is the first guess of a b c. based on the first guess the answer changes and usually goes to infinity !!!

Im asking you to help me to find the proper first guess.

Ive attached a set of sample xi yi data to the post too. Attached File  data_file.txt (301bytes)
Number of downloads: 11

just in case I attach the c++ class I have programmed to this post too. Attached File  PowerRegression.zip (1.45K)
Number of downloads: 9

.

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users