Skip to content
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

Typo in doc? #22

Closed
fabianp opened this issue Jul 1, 2016 · 2 comments
Closed

Typo in doc? #22

fabianp opened this issue Jul 1, 2016 · 2 comments

Comments

@fabianp
Copy link
Contributor

fabianp commented Jul 1, 2016

The documentation for DR2_TV states that it solves a problem of the form

min_w gam(f_1(w)+f_2(w)) + 0.5*norm(w)^2 -u^w

Is this a typo and it should read min_w gam(f_1(w)+f_2(w)) + 0.5*norm(w - u)^2 ?

@fabianp
Copy link
Contributor Author

fabianp commented Jul 1, 2016

In particular I don't understand what does u^w mean in the original formula

@albarji
Copy link
Owner

albarji commented Jul 17, 2016

Hi @fabianp , my apologies for the late reply.

There is indeed a typo: the optimization problem should read

min_w gam(f_1(w)+f_2(w)) + 0.5*norm(w)^2 - u · w

the last term being the inner product of vectors u and w. This is nothing but a shifted version of 2-dimensional TV: if you complete the square using the two last terms you would get

min_w gam(f_1(w)+f_2(w)) + 0.5*norm(w-u)^2 - 0.5*norm(u)

and you can drop the last (constant) term, obtaining the original 2-dimensional TV problem.

@albarji albarji closed this as completed Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants