You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: model transformation and constant, and penalization #1715
I'm again just running into convergence failures that are only on TravisCI.
This time with Poisson.fit_constrained.
I never manage to solve the convergence failure for one testcase for NegativeBinomial.fit_regularized on TravisCI.
If we do a transformation of the data to make it behave nicer, then we run into two related problems.
Penalized/Regularized estimators are not invariant to linear transformation. Penalization is on one parameter space, and with any transformation we need to also transform the penalization.
If we use a transformation that affects all columns, we don't know which is the constant.
another use case is to perform a transformation so that the penalization has the implemented structure. In this case we don't want to adjust the penalization for the transformation.
Example:
If penalization only implements biasing towards zero, then the structure of the penalization depends on the effect encoding. I don't know if the transformation to impose linear restriction in fit_constraint has exog columns that can directly be interpreted in terms of the constraints, I guess not.
bspline basis functions (orthogonal hump shapes) cannot be used for knot selection without recalculating merged or split knot intervals. The representation as max(..) (?) would be better suited for this.
issue is penalization by biasing diff of parameters or by biasing parameters to zero.
Activity
josef-pkt commentedon Jun 20, 2014
see also #1131 which is similar or almost duplicate
josef-pkt commentedon Mar 19, 2015
another use case is to perform a transformation so that the penalization has the implemented structure. In this case we don't want to adjust the penalization for the transformation.
Example:
If penalization only implements biasing towards zero, then the structure of the penalization depends on the effect encoding. I don't know if the transformation to impose linear restriction in fit_constraint has exog columns that can directly be interpreted in terms of the constraints, I guess not.
bspline basis functions (orthogonal hump shapes) cannot be used for knot selection without recalculating merged or split knot intervals. The representation as max(..) (?) would be better suited for this.
issue is penalization by biasing diff of parameters or by biasing parameters to zero.