Can the first order condition of the lagrangian of a generic kernel ridge regression be solved in sympy?

Viewed 72

I'm relatively new to sympy but would like to know the following. Suppose we have given a generic kernel ridge regression typ of optimization problem of the form

enter image description here

Is it possible for generic setup like this to use Sympy to get the solution for the first order condition (\nabla L=0).

0 Answers
Related