forum.alglib.net
http://forum.alglib.net/

Optimum knots that represent a curve
http://forum.alglib.net/viewtopic.php?f=2&t=579
Page 1 of 1

Author:  mhavel [ Tue May 15, 2012 8:55 pm ]
Post subject:  Optimum knots that represent a curve

Hi Sergey,

I'm looking for a way to get the optimum number of knots (and their position) to fully describe a curve without loosing information (especially when the the variations are rapid and strong).

Do you have any function that could help me in this task?

Regards.

Author:  Sergey.Bochkanov [ Thu May 17, 2012 5:53 am ]
Post subject:  Re: Optimum knots that represent a curve

No, there is no out-of-box support for such functionality. You may try to minimize interpolation error with respect to nodes locations. You will have following problem:
* optimization space - space of all possible nodes locations
* function being minimized - error of the interpolant built using given set of nodes
* additional penalty for having too close nodes is necessary
* optimization is performed using numerical differentiation

Author:  mhavel [ Sun May 20, 2012 2:22 am ]
Post subject:  Re: Optimum knots that represent a curve

Ok, thanks for you answer. I'll do it in another way.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/