forum.alglib.net

ALGLIB forum
It is currently Wed May 01, 2024 6:10 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: question
PostPosted: Thu May 26, 2011 3:14 pm 
Offline

Joined: Thu May 26, 2011 2:42 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: question
PostPosted: Sat May 28, 2011 6:18 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 906
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).


Top
 Profile  
 
 Post subject: Re: question
PostPosted: Mon May 30, 2011 3:01 pm 
Offline

Joined: Thu May 26, 2011 2:42 pm
Posts: 2
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 503 times
Top
 Profile  
 
 Post subject: Re: question
PostPosted: Tue May 31, 2011 8:07 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 906
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group