Register to reply

Good curve-fitting routine

by james4321
Tags: curvefitting, routine
Share this thread:
james4321
#1
Dec31-12, 09:06 AM
P: 6
I am looking for a reliable curve fitting routine (preferrably in C or C++). Currently I use Levenberg-Marquardt routine from numerical recipes but it fails frequently. Your adivce will be appreciated.
Phys.Org News Partner Science news on Phys.org
Fungus deadly to AIDS patients found to grow on trees
Canola genome sequence reveals evolutionary 'love triangle'
Scientists uncover clues to role of magnetism in iron-based superconductors
Dr Transport
#2
Dec31-12, 11:22 AM
Sci Advisor
PF Gold
P: 1,474
your choice of fitting parameters in the Levenberg-Marquardt routine needs to be changed, usually that is one of the most robust methodologies out there.
Pythagorean
#3
Dec31-12, 12:34 PM
PF Gold
Pythagorean's Avatar
P: 4,287
Use a genetic algorithm method to find the optimal Levenberg parameters?

james4321
#4
Jan1-13, 03:58 PM
P: 6
Good curve-fitting routine

Thank you Dr Transport and Pythagorean for you reply.

"your choice of fitting parameters in the Levenberg-Marquardt routine needs to be changed"
I do this but some data are very difficult to fit even with this.

"Use a genetic algorithm method to find the optimal Levenberg parameters?"
Unfortunately I have no expertise in genetic algorithms. I wish I know how to use these algorithms as they are very useful. Do you recommend any code or package that can do this with little experience?
james4321
#5
Jan1-13, 04:00 PM
P: 6
Thank you Dr Transport for you reply.

"your choice of fitting parameters in the Levenberg-Marquardt routine needs to be changed"
I do this but some data are very difficult to fit even with this.
james4321
#6
Jan1-13, 04:01 PM
P: 6
Thank you Pythagorean for you reply.

"Use a genetic algorithm method to find the optimal Levenberg parameters?"
Unfortunately I have no expertise in genetic algorithms. I wish I know how to use these algorithms as they are very useful. Do you recommend any code or package that can do this with little experience?


Register to reply

Related Discussions
Curve fitting and Plane fitting Calculus 2
Curve fitting General Math 0
Curve-fitting y=x^p+C General Math 23
Curve-to-curve fitting trouble! Programming & Computer Science 5
Good books for curve fitting Science & Math Textbooks 0