Proximal Operator of Weighted $ {L}_{2} $ Norm












3












$begingroup$



Define the weighted L2 norm $||x||_{2,w}=sqrt{sum_{i=1}^{n}w_ix_i^2}$. Find the formula for $operatorname{prox}_{lambda r}(y)$, where $lambda >0$.




By definition we have $$operatorname{prox}_{lambda r}(y)=argmin_x left(sqrt{sum_{i=1}^{n}w_ix_i^2}+frac{1}{2lambda}||x-y||^2_2right)$$
But I have no idea how to proceed from here. Any idea?










share|cite|improve this question











$endgroup$

















    3












    $begingroup$



    Define the weighted L2 norm $||x||_{2,w}=sqrt{sum_{i=1}^{n}w_ix_i^2}$. Find the formula for $operatorname{prox}_{lambda r}(y)$, where $lambda >0$.




    By definition we have $$operatorname{prox}_{lambda r}(y)=argmin_x left(sqrt{sum_{i=1}^{n}w_ix_i^2}+frac{1}{2lambda}||x-y||^2_2right)$$
    But I have no idea how to proceed from here. Any idea?










    share|cite|improve this question











    $endgroup$















      3












      3








      3





      $begingroup$



      Define the weighted L2 norm $||x||_{2,w}=sqrt{sum_{i=1}^{n}w_ix_i^2}$. Find the formula for $operatorname{prox}_{lambda r}(y)$, where $lambda >0$.




      By definition we have $$operatorname{prox}_{lambda r}(y)=argmin_x left(sqrt{sum_{i=1}^{n}w_ix_i^2}+frac{1}{2lambda}||x-y||^2_2right)$$
      But I have no idea how to proceed from here. Any idea?










      share|cite|improve this question











      $endgroup$





      Define the weighted L2 norm $||x||_{2,w}=sqrt{sum_{i=1}^{n}w_ix_i^2}$. Find the formula for $operatorname{prox}_{lambda r}(y)$, where $lambda >0$.




      By definition we have $$operatorname{prox}_{lambda r}(y)=argmin_x left(sqrt{sum_{i=1}^{n}w_ix_i^2}+frac{1}{2lambda}||x-y||^2_2right)$$
      But I have no idea how to proceed from here. Any idea?







      optimization convex-analysis convex-optimization






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Feb 2 at 19:59









      Royi

      3,66512454




      3,66512454










      asked May 3 '17 at 7:01









      user112358user112358

      900518




      900518






















          1 Answer
          1






          active

          oldest

          votes


















          3












          $begingroup$

          It's the usual thing in such situations: set the gradient with respect to $x$ to zero and solve for $x$.



          In this case, the $i$-th coordinate of the gradient is
          $$ frac{w_ix_i}{sqrt{W}} + frac{x_i-y_i}{lambda}$$
          where $W=sum_{i=1}^nw_ix_i^2$ is the weighted squared 2-norm. Setting the above to zero, we get
          $$ x_i = frac{y_i}{lambda w_i/sqrt{W}+1}.$$
          So these expressions for $i=1,ldots,n$ define the minimizer $x$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Maybe to clarify the first term can be obtained by applying the chain rule on $f(g(x)), cases{f(x) = sqrt{x}\ g(x) = sum_{i=1}^{n}w_i{x_i}^2}$.
            $endgroup$
            – mathreadler
            May 3 '17 at 10:15














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2263447%2fproximal-operator-of-weighted-l-2-norm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3












          $begingroup$

          It's the usual thing in such situations: set the gradient with respect to $x$ to zero and solve for $x$.



          In this case, the $i$-th coordinate of the gradient is
          $$ frac{w_ix_i}{sqrt{W}} + frac{x_i-y_i}{lambda}$$
          where $W=sum_{i=1}^nw_ix_i^2$ is the weighted squared 2-norm. Setting the above to zero, we get
          $$ x_i = frac{y_i}{lambda w_i/sqrt{W}+1}.$$
          So these expressions for $i=1,ldots,n$ define the minimizer $x$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Maybe to clarify the first term can be obtained by applying the chain rule on $f(g(x)), cases{f(x) = sqrt{x}\ g(x) = sum_{i=1}^{n}w_i{x_i}^2}$.
            $endgroup$
            – mathreadler
            May 3 '17 at 10:15


















          3












          $begingroup$

          It's the usual thing in such situations: set the gradient with respect to $x$ to zero and solve for $x$.



          In this case, the $i$-th coordinate of the gradient is
          $$ frac{w_ix_i}{sqrt{W}} + frac{x_i-y_i}{lambda}$$
          where $W=sum_{i=1}^nw_ix_i^2$ is the weighted squared 2-norm. Setting the above to zero, we get
          $$ x_i = frac{y_i}{lambda w_i/sqrt{W}+1}.$$
          So these expressions for $i=1,ldots,n$ define the minimizer $x$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Maybe to clarify the first term can be obtained by applying the chain rule on $f(g(x)), cases{f(x) = sqrt{x}\ g(x) = sum_{i=1}^{n}w_i{x_i}^2}$.
            $endgroup$
            – mathreadler
            May 3 '17 at 10:15
















          3












          3








          3





          $begingroup$

          It's the usual thing in such situations: set the gradient with respect to $x$ to zero and solve for $x$.



          In this case, the $i$-th coordinate of the gradient is
          $$ frac{w_ix_i}{sqrt{W}} + frac{x_i-y_i}{lambda}$$
          where $W=sum_{i=1}^nw_ix_i^2$ is the weighted squared 2-norm. Setting the above to zero, we get
          $$ x_i = frac{y_i}{lambda w_i/sqrt{W}+1}.$$
          So these expressions for $i=1,ldots,n$ define the minimizer $x$.






          share|cite|improve this answer











          $endgroup$



          It's the usual thing in such situations: set the gradient with respect to $x$ to zero and solve for $x$.



          In this case, the $i$-th coordinate of the gradient is
          $$ frac{w_ix_i}{sqrt{W}} + frac{x_i-y_i}{lambda}$$
          where $W=sum_{i=1}^nw_ix_i^2$ is the weighted squared 2-norm. Setting the above to zero, we get
          $$ x_i = frac{y_i}{lambda w_i/sqrt{W}+1}.$$
          So these expressions for $i=1,ldots,n$ define the minimizer $x$.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited May 3 '17 at 7:34

























          answered May 3 '17 at 7:11









          amakelovamakelov

          2,617619




          2,617619












          • $begingroup$
            Maybe to clarify the first term can be obtained by applying the chain rule on $f(g(x)), cases{f(x) = sqrt{x}\ g(x) = sum_{i=1}^{n}w_i{x_i}^2}$.
            $endgroup$
            – mathreadler
            May 3 '17 at 10:15




















          • $begingroup$
            Maybe to clarify the first term can be obtained by applying the chain rule on $f(g(x)), cases{f(x) = sqrt{x}\ g(x) = sum_{i=1}^{n}w_i{x_i}^2}$.
            $endgroup$
            – mathreadler
            May 3 '17 at 10:15


















          $begingroup$
          Maybe to clarify the first term can be obtained by applying the chain rule on $f(g(x)), cases{f(x) = sqrt{x}\ g(x) = sum_{i=1}^{n}w_i{x_i}^2}$.
          $endgroup$
          – mathreadler
          May 3 '17 at 10:15






          $begingroup$
          Maybe to clarify the first term can be obtained by applying the chain rule on $f(g(x)), cases{f(x) = sqrt{x}\ g(x) = sum_{i=1}^{n}w_i{x_i}^2}$.
          $endgroup$
          – mathreadler
          May 3 '17 at 10:15




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2263447%2fproximal-operator-of-weighted-l-2-norm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          The term 'EXEC' is not recognized as the name of a cmdlet Powershell

          NPM command prompt closes immediately [closed]

          Error binding properties and functions in emscripten