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:
- basis
ndarray
design matrix for the spline basis for given x_new
.