A roughness penalty penalizes variation of derivatives, such as . The second-derivative penalty vanishes precisely on affine functions and is represented in a chosen basis by a roughness penalty matrix.
New to topics? Read the docs here!
New to topics? Read the docs here!