Bug 144626 - For fit plugins allow user to optionally supply x-vector for fit calculation
Summary: For fit plugins allow user to optionally supply x-vector for fit calculation
Status: RESOLVED INTENTIONAL
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 21:29 UTC by Andrew Walker
Modified: 2009-04-15 00:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Walker 2007-04-24 21:29:53 UTC
Version:           HEAD (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources
OS:                Linux

When fitting data it would be useful to optionally allow an additional x-vector to be supplied by the user, which would be used to calculate the output y-vector.

At present the input x-vector is used to calculate the output y-vector. However, there are many situations when the user might want the output y-vector to be sampled differently from the input x-vector.
Comment 1 Andrew Walker 2007-04-25 20:56:03 UTC
This request seems to be in conflict with the current behaviour of returning residuals. If the output x-vector does not overlap (or only partially overlaps) with the input x-vector how would residuals be calculated? 
Comment 2 Netterfield 2007-04-26 15:16:18 UTC
Sounds like the residual curve follows the current behavior.  Only the fit 
itself would be evaluated on the new x vector.
Comment 3 Andrew Walker 2007-09-27 20:40:40 UTC
I think my preference here would be to add an additional x-vector. The result and residual vectors would be provided basesd on the additional x-vector. In the case where the additional x-vector is the same as the base x-vector then the existing behaviour is returned. This would be the default behaviour.
Comment 4 Andrew Walker 2009-04-15 00:48:10 UTC
In order to maintain backward compatibility the only way to implement this proposed change would be to duplicate all the existing fit plugins, modify their name slightly, and add the additional input x-vector and output y-vector.

This would likely be confusing to the user and the proposed functionality can also be created by using an expression.