Comments (2)
Hi @rsbandaru,
Apologies for the delayed response! Just to clarify, what do you mean by "missing"? With regards to README-2.png, for example, are you referring to the fact that, for the leftmost and rightmost input data points, the model has not extended far enough so that the error between the model and these data points is perpendicular?
from bspline-regression.
I think this is what is meant:
Cubic spline not clamped. This is how it is implemented:
Clamped cubic splines. Here the curve touches the first and last control point. This is usually how it is implemented in most application and also shown on Wikipedia.
The difference is the knots vector.
knots_unclamped = [0, 0.167, 0.333, 0.5, 0.667, 0.833, 1]
knots_clamped = [0, 0, 0, 0.5, 1, 1, 1]
Here is the website I took the screenshots from:
I agree with rsbandaru that it would be good to have this feature.
I am not sure if this can easily be done, as I read you assume uniform knot spacing. In this case an alternative could be to add the first and last points multiple times (depending on the degree). However it seems to give a slightly different curve. And it would require some special casing in the optimizer, to treat them always the same.
from bspline-regression.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bspline-regression.