none#

pygam.penalties.none(n, coef)[source]#

Build a matrix of zeros for features that should go unpenalized.

Parameters:
nint

number of splines

coefunused

for compatibility with constraints

Returns:
penalty matrixsparse csc matrix of shape (n,n)