normalizing by using gaussian distribution for negative and positive numbers and feed in Min,Max...












0












$begingroup$


I'm dealing in Python with a dataset which has 6 million float numbers belongs to 3 main parameters A, B , C and I map them in 24x20 matrices for each cycle and I plot them 480-values by 480-values. Initially I normalized during plotting A & B between [-1,+1] and C between [-40, +150] during HeatMap plotting and before that I applied Max,Min normalization by below formula:



Normalization data between [a,b] = (b-a)(X-Xmin/Xmax-Xmin)+a



Then we checked out video of stream of images and we found out that the normalization was not good enough and that's why it's not that much realistic the behaviour changes of A,B,C in images. Actually the normalization we use should be applied by Gaussian distribution function to get rid of some unwanted values (Noise)!!
Due to few extraordinary values as Min and Max from lists of parameters could just happened few times and it distracted our normalization and resulted in seeing no difference in Matrix full of value of 25 with matrix full of values in range of -300 after plotting with HeatMap !! Then we started to apply Gaussian distribution on negative and positive numbers of each parameters A,B,C and took real Max & Min for feeding above-mentioned formula from Mean values of Gaussian function for positive numbers & negative numbers respectively!



it means:



Xmin = Mean of gaussian for negative numbers



Xmax = Mean of gaussian for positive numbers



then calculated confidence intervals for each for negative and positive sides and neglect outer by using : μ ± σ * k we got plots of A,B,C and we realized we cancelled huge noise!
Right now I'm wondering what would be happened if we just apply gaussian normal distribution in whole values of our parameters A,B,C based on below principle:



(1/σ√2π)exp(−(x−μ)^2 /2σ^2) just by computing μ , σ



Did we do extra effort? and just one should be assigned through all data? what's the advantage of what we did by applying 2 times for + and - values and fed them into Max,Min normalization formula?



I asked this question here to get different mathematics point of views beside of programming to have right vision.
Waiting for your kind answers










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    I'm dealing in Python with a dataset which has 6 million float numbers belongs to 3 main parameters A, B , C and I map them in 24x20 matrices for each cycle and I plot them 480-values by 480-values. Initially I normalized during plotting A & B between [-1,+1] and C between [-40, +150] during HeatMap plotting and before that I applied Max,Min normalization by below formula:



    Normalization data between [a,b] = (b-a)(X-Xmin/Xmax-Xmin)+a



    Then we checked out video of stream of images and we found out that the normalization was not good enough and that's why it's not that much realistic the behaviour changes of A,B,C in images. Actually the normalization we use should be applied by Gaussian distribution function to get rid of some unwanted values (Noise)!!
    Due to few extraordinary values as Min and Max from lists of parameters could just happened few times and it distracted our normalization and resulted in seeing no difference in Matrix full of value of 25 with matrix full of values in range of -300 after plotting with HeatMap !! Then we started to apply Gaussian distribution on negative and positive numbers of each parameters A,B,C and took real Max & Min for feeding above-mentioned formula from Mean values of Gaussian function for positive numbers & negative numbers respectively!



    it means:



    Xmin = Mean of gaussian for negative numbers



    Xmax = Mean of gaussian for positive numbers



    then calculated confidence intervals for each for negative and positive sides and neglect outer by using : μ ± σ * k we got plots of A,B,C and we realized we cancelled huge noise!
    Right now I'm wondering what would be happened if we just apply gaussian normal distribution in whole values of our parameters A,B,C based on below principle:



    (1/σ√2π)exp(−(x−μ)^2 /2σ^2) just by computing μ , σ



    Did we do extra effort? and just one should be assigned through all data? what's the advantage of what we did by applying 2 times for + and - values and fed them into Max,Min normalization formula?



    I asked this question here to get different mathematics point of views beside of programming to have right vision.
    Waiting for your kind answers










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      I'm dealing in Python with a dataset which has 6 million float numbers belongs to 3 main parameters A, B , C and I map them in 24x20 matrices for each cycle and I plot them 480-values by 480-values. Initially I normalized during plotting A & B between [-1,+1] and C between [-40, +150] during HeatMap plotting and before that I applied Max,Min normalization by below formula:



      Normalization data between [a,b] = (b-a)(X-Xmin/Xmax-Xmin)+a



      Then we checked out video of stream of images and we found out that the normalization was not good enough and that's why it's not that much realistic the behaviour changes of A,B,C in images. Actually the normalization we use should be applied by Gaussian distribution function to get rid of some unwanted values (Noise)!!
      Due to few extraordinary values as Min and Max from lists of parameters could just happened few times and it distracted our normalization and resulted in seeing no difference in Matrix full of value of 25 with matrix full of values in range of -300 after plotting with HeatMap !! Then we started to apply Gaussian distribution on negative and positive numbers of each parameters A,B,C and took real Max & Min for feeding above-mentioned formula from Mean values of Gaussian function for positive numbers & negative numbers respectively!



      it means:



      Xmin = Mean of gaussian for negative numbers



      Xmax = Mean of gaussian for positive numbers



      then calculated confidence intervals for each for negative and positive sides and neglect outer by using : μ ± σ * k we got plots of A,B,C and we realized we cancelled huge noise!
      Right now I'm wondering what would be happened if we just apply gaussian normal distribution in whole values of our parameters A,B,C based on below principle:



      (1/σ√2π)exp(−(x−μ)^2 /2σ^2) just by computing μ , σ



      Did we do extra effort? and just one should be assigned through all data? what's the advantage of what we did by applying 2 times for + and - values and fed them into Max,Min normalization formula?



      I asked this question here to get different mathematics point of views beside of programming to have right vision.
      Waiting for your kind answers










      share|cite|improve this question









      $endgroup$




      I'm dealing in Python with a dataset which has 6 million float numbers belongs to 3 main parameters A, B , C and I map them in 24x20 matrices for each cycle and I plot them 480-values by 480-values. Initially I normalized during plotting A & B between [-1,+1] and C between [-40, +150] during HeatMap plotting and before that I applied Max,Min normalization by below formula:



      Normalization data between [a,b] = (b-a)(X-Xmin/Xmax-Xmin)+a



      Then we checked out video of stream of images and we found out that the normalization was not good enough and that's why it's not that much realistic the behaviour changes of A,B,C in images. Actually the normalization we use should be applied by Gaussian distribution function to get rid of some unwanted values (Noise)!!
      Due to few extraordinary values as Min and Max from lists of parameters could just happened few times and it distracted our normalization and resulted in seeing no difference in Matrix full of value of 25 with matrix full of values in range of -300 after plotting with HeatMap !! Then we started to apply Gaussian distribution on negative and positive numbers of each parameters A,B,C and took real Max & Min for feeding above-mentioned formula from Mean values of Gaussian function for positive numbers & negative numbers respectively!



      it means:



      Xmin = Mean of gaussian for negative numbers



      Xmax = Mean of gaussian for positive numbers



      then calculated confidence intervals for each for negative and positive sides and neglect outer by using : μ ± σ * k we got plots of A,B,C and we realized we cancelled huge noise!
      Right now I'm wondering what would be happened if we just apply gaussian normal distribution in whole values of our parameters A,B,C based on below principle:



      (1/σ√2π)exp(−(x−μ)^2 /2σ^2) just by computing μ , σ



      Did we do extra effort? and just one should be assigned through all data? what's the advantage of what we did by applying 2 times for + and - values and fed them into Max,Min normalization formula?



      I asked this question here to get different mathematics point of views beside of programming to have right vision.
      Waiting for your kind answers







      normal-distribution matlab gaussian-elimination python noise






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 17 at 17:59









      Mario Mario

      11




      11






















          0






          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',
          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%2f3077299%2fnormalizing-by-using-gaussian-distribution-for-negative-and-positive-numbers-and%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f3077299%2fnormalizing-by-using-gaussian-distribution-for-negative-and-positive-numbers-and%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

          MongoDB - Not Authorized To Execute Command

          How to fix TextFormField cause rebuild widget in Flutter

          Npm cannot find a required file even through it is in the searched directory