nemos.basis.RaisedCosineLogConv.setup_basis#
- RaisedCosineLogConv.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 transformerfitis in the expected input structure, where the transformerfitmethod 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.