nemos.basis._spline_basis.SplineBasis.set_input_shape#

abstract SplineBasis.set_input_shape(xi)#

Set the expected input shape for the basis object.

This method configures the shape of the input data that the basis object expects. xi can be specified as an integer, a tuple of integers, or derived from an array. The method also calculates the total number of input features and output features based on the number of basis functions.

Parameters:

xi (int | tuple[int, ...] | NDArray)