# statsmodels.gam.smooth_basis.CyclicCubicSplines.transform¶

CyclicCubicSplines.transform(x_new)

create the spline basis for new observations

The main use of this stateful transformation is for prediction using the same specification of the spline basis.

Parameters
x_new: ndarray

observations of the underlying explanatory variable

Returns
basisndarray

design matrix for the spline basis for given x_new.