Good curve-fitting routine


by james4321
Tags: curvefitting, routine
james4321
james4321 is offline
#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
Lemurs match scent of a friend to sound of her voice
Repeated self-healing now possible in composite materials
'Heartbleed' fix may slow Web performance
Dr Transport
Dr Transport is offline
#2
Dec31-12, 11:22 AM
Sci Advisor
PF Gold
P: 1,456
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
Pythagorean is online now
#3
Dec31-12, 12:34 PM
PF Gold
Pythagorean's Avatar
P: 4,180
Use a genetic algorithm method to find the optimal Levenberg parameters?

james4321
james4321 is offline
#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
james4321 is offline
#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
james4321 is offline
#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 Textbook Listings 0