Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Interpolating Polynomials #32

Closed
bvenn opened this issue May 11, 2019 · 1 comment
Closed

[Feature Request] Interpolating Polynomials #32

bvenn opened this issue May 11, 2019 · 1 comment

Comments

@bvenn
Copy link
Member

bvenn commented May 11, 2019

Description

Interpolating polynomials are polynomials of degree=n-1. This degree is sufficient flexible to interpolate all present data points.
The construction of the linear system of equations is straight forward and does not require expensive construction of least-squares linear systems. Additionally the least-squares approach present in Fitting.LinearRegression.Polynomial does not inevitably converge to a interpolating polynomial.

Repro steps

try to interpolate the following data with polynomial regression
let x_DataH = vector [0.;10.;30.;50.;70.;80.;82.]
let y_DataH = vector [150.;200.;200.;200.;180.;100.;0.]

Expected behavior

An interpolating curve.

Actual behavior

The first knot at x=0 is missed by the curve.

Solution

Construct a linear system of equations that has a unique solution and interpolates all given knots.

Related information

Presentation_Seminar

Lecture

@bvenn
Copy link
Member Author

bvenn commented May 12, 2019

closed by b8e72d3

@bvenn bvenn closed this as completed May 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant