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

question
http://forum.alglib.net/viewtopic.php?f=2&t=365
Page 1 of 1

Author:  yurayura [ Thu May 26, 2011 3:14 pm ]
Post subject:  question

i an only starting and have some questions.

i need approximate this
Image

i think it is possible with spline1dfitpenalized function

but i didn't find this function for Delphi XE
don't know what to do

Author:  Sergey.Bochkanov [ Sat May 28, 2011 6:18 am ]
Post subject:  Re: question

Unfortunately, Delphi version is very old - still 2.6 branch while the rest of the library is 3.3 by now. It is planned to synchronize it with current version of the library in a month or so. If you really want to use penalized splines, you can try to work with C++ version of ALGLIB (call it from Delphi).

Author:  yurayura [ Mon May 30, 2011 3:01 pm ]
Post subject:  Re: question

During the two days was able to translate the code of the whole chain of functions for Delphi
if interested translated code in the attached file

I am interested in the mathematical side of the issue
from each column, taking the three points (left, right and middle)
it turned

Image

noticeable shift to the left?
right or wrong?
if not correct, then there is the idea of ??how to fix it?

Attachments:
Unit2.rar [11.63 KiB]
Downloaded 696 times

Author:  Sergey.Bochkanov [ Tue May 31, 2011 8:07 pm ]
Post subject:  Re: question

Hard to tell with histogram - this kind of charts was designed for quite different visualization problems. If you want to fit some set of points with spline, try to visualize these points using scatterplot.

P.S. I've converted your message to English with Google Translate. Please, write in English - this forum is English-only and deliberately kept clean from postings in other languages.

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