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
Friedman et al. (2008) describe the coordinate descent procedure used for the graphical lasso.
In the paper, there is a REMARK 2.1, which states that the objective function to be optimized can be modified to allow for a matrix of penalty values, rather than a scalar value.
Describe your proposed solution
This has been implemented here.
However, linear_model._cd_fast.pyx still has to be updated to allow for vectorized alpha input in enet_coordinate_descent_gram
Describe alternatives you've considered, if relevant
No response
Additional context
This change is motivated to allow for prior incorporation into the inference procedure. When strong priors for edges are available, this can affect the strength of the corresponding edges' penalization.
The text was updated successfully, but these errors were encountered:
We already discussed the possibility of adding matrix-parameterized regularization to linear models in the pass (I think it was for GLMs with @lorentzenchr and discussed with @agramfort and at the time we decided that this kind of feature would be outside of the scope of scikit-learn because we would need consistent support for various estimators / solver combinations and it can severely increase the maintenance cost of the library.
Still the code change is not that large in the case of graphical lasso. So I am a bit undecided. But if we decide one way or another we should be consistent.
Describe the workflow you want to enable
Friedman et al. (2008) describe the coordinate descent procedure used for the graphical lasso.
In the paper, there is a REMARK 2.1, which states that the objective function to be optimized can be modified to allow for a matrix of penalty values, rather than a scalar value.
Describe your proposed solution
This has been implemented here.
However, linear_model._cd_fast.pyx still has to be updated to allow for vectorized alpha input in enet_coordinate_descent_gram
Describe alternatives you've considered, if relevant
No response
Additional context
This change is motivated to allow for prior incorporation into the inference procedure. When strong priors for edges are available, this can affect the strength of the corresponding edges' penalization.
The text was updated successfully, but these errors were encountered: