What does the bins
parameter mean in NSF?
#43
-
I checked the article Neural Spine Flows and searched for the keyword |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
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 |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
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()
).