beta = (X'X + lambda P)^-1 X'y where P is the identity with zeros for constant columns (ESL eqs 3.44, 3.50); effective_df = trace of the hat matrix. Columns are not standardised here.
beta = (X'X + lambda P)^-1 X'y where P is the identity with zeros for constant columns (ESL eqs 3.44, 3.50); effective_df = trace of the hat matrix. Columns are not standardised here.