Skip to content

What does the bins parameter mean in NSF? #43

Answered by francois-rozet
Bill-Gots asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, the number of bins is the number of knots minus one. The space between two knots is a bin. A spline is a piecewise function, meaning that each bin defines a different function, with different parameters. In the case of the rational-quadratic spline, each bin has 3 parameters: a width, a height and a slope. Hence, for the entire spline the parameters are 3 vectors of size bins (minus one for the slope due to boundary conditions). In comparison, for an affine transformation, the parameters are 2 scalars (tensor of shape ()).

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Bill-Gots
Comment options

@francois-rozet
Comment options

@Bill-Gots
Comment options

Answer selected by Bill-Gots
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants