nemos.basis.MSplineConv.setup_basis#
- MSplineConv.setup_basis(*xi)#
Set all basis states.
This method corresponds sklearn transformer
fit
. As fit, it must receive the input and it must set all basis states, i.e.kernel_
and all the states relative to the input shape. The difference between this method and the transformerfit
is in the expected input structure, where the transformerfit
method requires the inputs to be concatenated in a 2D array, while here each input is provided as a separate time series for each basis element.- Parameters:
xi (NDArray) – Input arrays.
- Return type:
- Returns:
The basis with ready for evaluation.