Finding attribution of coefficient in a matrix

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












I have the following $d*n$ matrix in $0, 1$



beginbmatrix
x_11 & x_12 & x_13 & dots & x_1n \
x_21 & x_22 & x_23 & dots & x_2n \
vdots & vdots & vdots & ddots & vdots \
x_d1 & x_d2 & x_d3 & dots & x_dn
endbmatrix



And the following label in $mathbbW$



beginbmatrix
y_11 \
y_21 \
vdots \
y_d1
endbmatrix



Where the $d$ dimension is my data points and $n$ dimension is my feature.



I want to rank the feature that has the highest contribution to the label.



One way to do it is to solve this linear system, find out the coefficient of this feature.



Sort the coefficient and call it a day.



There is alot of issue with this method, such that there might be infinite solutions, or its not solvable.



I was also thinking about using SVD such that I distributed the label to my feature matrix like this



Given



beginbmatrix
1 & 0 & 1 & 0 \
0 & 0 & 1 & 1
endbmatrix



and label



beginbmatrix
100 \
50 \
endbmatrix



I will do SVD on the following matrix



beginbmatrix
50 & 0 & 50 & 0 \
0 & 0 & 25 & 25
endbmatrix



This will essentially return me the column that has the most contribution



Is there a better way to achieve my goal?







share|cite|improve this question

























    up vote
    0
    down vote

    favorite
    1












    I have the following $d*n$ matrix in $0, 1$



    beginbmatrix
    x_11 & x_12 & x_13 & dots & x_1n \
    x_21 & x_22 & x_23 & dots & x_2n \
    vdots & vdots & vdots & ddots & vdots \
    x_d1 & x_d2 & x_d3 & dots & x_dn
    endbmatrix



    And the following label in $mathbbW$



    beginbmatrix
    y_11 \
    y_21 \
    vdots \
    y_d1
    endbmatrix



    Where the $d$ dimension is my data points and $n$ dimension is my feature.



    I want to rank the feature that has the highest contribution to the label.



    One way to do it is to solve this linear system, find out the coefficient of this feature.



    Sort the coefficient and call it a day.



    There is alot of issue with this method, such that there might be infinite solutions, or its not solvable.



    I was also thinking about using SVD such that I distributed the label to my feature matrix like this



    Given



    beginbmatrix
    1 & 0 & 1 & 0 \
    0 & 0 & 1 & 1
    endbmatrix



    and label



    beginbmatrix
    100 \
    50 \
    endbmatrix



    I will do SVD on the following matrix



    beginbmatrix
    50 & 0 & 50 & 0 \
    0 & 0 & 25 & 25
    endbmatrix



    This will essentially return me the column that has the most contribution



    Is there a better way to achieve my goal?







    share|cite|improve this question























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      I have the following $d*n$ matrix in $0, 1$



      beginbmatrix
      x_11 & x_12 & x_13 & dots & x_1n \
      x_21 & x_22 & x_23 & dots & x_2n \
      vdots & vdots & vdots & ddots & vdots \
      x_d1 & x_d2 & x_d3 & dots & x_dn
      endbmatrix



      And the following label in $mathbbW$



      beginbmatrix
      y_11 \
      y_21 \
      vdots \
      y_d1
      endbmatrix



      Where the $d$ dimension is my data points and $n$ dimension is my feature.



      I want to rank the feature that has the highest contribution to the label.



      One way to do it is to solve this linear system, find out the coefficient of this feature.



      Sort the coefficient and call it a day.



      There is alot of issue with this method, such that there might be infinite solutions, or its not solvable.



      I was also thinking about using SVD such that I distributed the label to my feature matrix like this



      Given



      beginbmatrix
      1 & 0 & 1 & 0 \
      0 & 0 & 1 & 1
      endbmatrix



      and label



      beginbmatrix
      100 \
      50 \
      endbmatrix



      I will do SVD on the following matrix



      beginbmatrix
      50 & 0 & 50 & 0 \
      0 & 0 & 25 & 25
      endbmatrix



      This will essentially return me the column that has the most contribution



      Is there a better way to achieve my goal?







      share|cite|improve this question













      I have the following $d*n$ matrix in $0, 1$



      beginbmatrix
      x_11 & x_12 & x_13 & dots & x_1n \
      x_21 & x_22 & x_23 & dots & x_2n \
      vdots & vdots & vdots & ddots & vdots \
      x_d1 & x_d2 & x_d3 & dots & x_dn
      endbmatrix



      And the following label in $mathbbW$



      beginbmatrix
      y_11 \
      y_21 \
      vdots \
      y_d1
      endbmatrix



      Where the $d$ dimension is my data points and $n$ dimension is my feature.



      I want to rank the feature that has the highest contribution to the label.



      One way to do it is to solve this linear system, find out the coefficient of this feature.



      Sort the coefficient and call it a day.



      There is alot of issue with this method, such that there might be infinite solutions, or its not solvable.



      I was also thinking about using SVD such that I distributed the label to my feature matrix like this



      Given



      beginbmatrix
      1 & 0 & 1 & 0 \
      0 & 0 & 1 & 1
      endbmatrix



      and label



      beginbmatrix
      100 \
      50 \
      endbmatrix



      I will do SVD on the following matrix



      beginbmatrix
      50 & 0 & 50 & 0 \
      0 & 0 & 25 & 25
      endbmatrix



      This will essentially return me the column that has the most contribution



      Is there a better way to achieve my goal?









      share|cite|improve this question












      share|cite|improve this question




      share|cite|improve this question








      edited Jul 24 at 17:22
























      asked Jul 24 at 1:10









      python

      1012




      1012

























          active

          oldest

          votes











          Your Answer




          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2860909%2ffinding-attribution-of-coefficient-in-a-matrix%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2860909%2ffinding-attribution-of-coefficient-in-a-matrix%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?