Closed alphaville closed 2 years ago
We should use the fact that the gradient of the squared distance to a closed convex set is nabla dist_C^2(x) = 2(x - P_C(x)), to write appropriate unit tests in Python.
nabla dist_C^2(x) = 2(x - P_C(x))
We should use the fact that the gradient of the squared distance to a closed convex set is
nabla dist_C^2(x) = 2(x - P_C(x))
, to write appropriate unit tests in Python.