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 coefficients beta.

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

inputs

The inputs of the node component.

jaxified

Whether JAX NumPy is enabled for the node component.