-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add datafit with log det datafit #265
Comments
The overall cost optimization problem can be rewritten in the following form to have a single set of variables: where Adding an Above, the Interestingly, with either form of the problem, and a coordinate descent, the corresponding minimization problem has a closed form solution for a single variable update, and does not require computing a gradient (or Hessian, which is basically free to compute from the gradient). However, whether we compute the gradient and Hessian or the closed form optimum, we need to keep in memory a matrix for their computations and efficient updates, and update it each time the solution is updated (@QB3 1st bullet point). Would this be possible with skglm? |
@bgirault-inria is the matrix to store the inverse of
I doubt it directly fits the API of skglm (that is oriented towards glm); but the skglm algorithm (working sets + Anderson acceleration) can definitely be applied to it, and we can code it! |
Yes, it is. Let's denote it References: |
Description of the feature
Handle$\log\det $ -like datafit and allow variables with multiple roles.
Additional context
@bgirault-inria is currently solving (simpler) graphical-Lasso-like problems and could potentially benefit from our solvers.
The solved problem is
$$\min_{w \in \mathbb{R}^p, q \in \mathbb{R}^m} \log \det (\mathrm{diag}(q) + \sum_e w_e b_e b_e^T) + A w + B q + \lambda \sum_e w_e + \sum_e i_{w_e \geq 0} + \sum_i i_{q_i \geq 0} $$
with given$A, B, b_e$ .
This optimization problem raises two main challenges for our current implementation:
The text was updated successfully, but these errors were encountered: