SmoothCalculator
SmoothCalculator#
- class liesel.liesel.nodes.SmoothCalculator(x, beta)[source]#
Bases:
liesel.liesel.nodes.NodeCalculator
Calculates a smooth
x @ beta
.A smooth is the matrix-vector product of a design matrix
x
and a vector of regression coefficientsbeta
.Methods
jaxify
()Enables JAX NumPy for the node component.
unjaxify
()Disables JAX NumPy for the node component.
value
()Calculates the value of a node from its inputs and returns it.
Attributes
The inputs of the node component.
Whether JAX NumPy is enabled for the node component.