Dataset of extremely low-dimensional images for PCA












1












$begingroup$


I am looking for a public data-set of images that differ from each other only slightly, so that after applying PCA they can be reconstructed with a small error from very few PCA coefficients. It can be any type of images, the purpose is only to demonstrate an extreme example of PCA.










share|improve this question











$endgroup$




bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1












    $begingroup$


    I am looking for a public data-set of images that differ from each other only slightly, so that after applying PCA they can be reconstructed with a small error from very few PCA coefficients. It can be any type of images, the purpose is only to demonstrate an extreme example of PCA.










    share|improve this question











    $endgroup$




    bumped to the homepage by Community 2 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1





      $begingroup$


      I am looking for a public data-set of images that differ from each other only slightly, so that after applying PCA they can be reconstructed with a small error from very few PCA coefficients. It can be any type of images, the purpose is only to demonstrate an extreme example of PCA.










      share|improve this question











      $endgroup$




      I am looking for a public data-set of images that differ from each other only slightly, so that after applying PCA they can be reconstructed with a small error from very few PCA coefficients. It can be any type of images, the purpose is only to demonstrate an extreme example of PCA.







      machine-learning dataset pca






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 23 '18 at 12:27









      Vaalizaadeh

      7,61562265




      7,61562265










      asked Jan 23 '18 at 9:56









      elliotpelliotp

      111




      111





      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          Actually in your case I guess the pure images are not that important. The features that you extract from them are important because if your feature space is constructed base on intensity of images at different picture elements, pixels, then you will need so many coefficients. As an easy solution, use MNIST digits and use shape features to extract features from the images of numbers. You can use plausible number of features and then use PCA for the data that is in the new feature space that you have just constructed. In this case smaller number of coefficients will be needed if the features are fine.






          share|improve this answer











          $endgroup$













          • $begingroup$
            Thanks but as I said, I want to demonstrate PCA for the actual pixels of images.
            $endgroup$
            – elliotp
            Jan 23 '18 at 12:16










          • $begingroup$
            @elliotp You can use mnist to do so as well but I'm not sure how many coefficients will suffice for you purpose. I guess MNIST suites for your task because most of the numbers are centered, consequently center pixels with each other and marginal pixels with each other will have high correlation which may cause first principal components have great eigenvalues.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:26












          • $begingroup$
            @elliotp also as a suggestion, I recommend you to pick sample of images of two different labels and plot the three eigenvalues with the greatest amounts.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:48












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "557"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f26948%2fdataset-of-extremely-low-dimensional-images-for-pca%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









          0












          $begingroup$

          Actually in your case I guess the pure images are not that important. The features that you extract from them are important because if your feature space is constructed base on intensity of images at different picture elements, pixels, then you will need so many coefficients. As an easy solution, use MNIST digits and use shape features to extract features from the images of numbers. You can use plausible number of features and then use PCA for the data that is in the new feature space that you have just constructed. In this case smaller number of coefficients will be needed if the features are fine.






          share|improve this answer











          $endgroup$













          • $begingroup$
            Thanks but as I said, I want to demonstrate PCA for the actual pixels of images.
            $endgroup$
            – elliotp
            Jan 23 '18 at 12:16










          • $begingroup$
            @elliotp You can use mnist to do so as well but I'm not sure how many coefficients will suffice for you purpose. I guess MNIST suites for your task because most of the numbers are centered, consequently center pixels with each other and marginal pixels with each other will have high correlation which may cause first principal components have great eigenvalues.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:26












          • $begingroup$
            @elliotp also as a suggestion, I recommend you to pick sample of images of two different labels and plot the three eigenvalues with the greatest amounts.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:48
















          0












          $begingroup$

          Actually in your case I guess the pure images are not that important. The features that you extract from them are important because if your feature space is constructed base on intensity of images at different picture elements, pixels, then you will need so many coefficients. As an easy solution, use MNIST digits and use shape features to extract features from the images of numbers. You can use plausible number of features and then use PCA for the data that is in the new feature space that you have just constructed. In this case smaller number of coefficients will be needed if the features are fine.






          share|improve this answer











          $endgroup$













          • $begingroup$
            Thanks but as I said, I want to demonstrate PCA for the actual pixels of images.
            $endgroup$
            – elliotp
            Jan 23 '18 at 12:16










          • $begingroup$
            @elliotp You can use mnist to do so as well but I'm not sure how many coefficients will suffice for you purpose. I guess MNIST suites for your task because most of the numbers are centered, consequently center pixels with each other and marginal pixels with each other will have high correlation which may cause first principal components have great eigenvalues.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:26












          • $begingroup$
            @elliotp also as a suggestion, I recommend you to pick sample of images of two different labels and plot the three eigenvalues with the greatest amounts.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:48














          0












          0








          0





          $begingroup$

          Actually in your case I guess the pure images are not that important. The features that you extract from them are important because if your feature space is constructed base on intensity of images at different picture elements, pixels, then you will need so many coefficients. As an easy solution, use MNIST digits and use shape features to extract features from the images of numbers. You can use plausible number of features and then use PCA for the data that is in the new feature space that you have just constructed. In this case smaller number of coefficients will be needed if the features are fine.






          share|improve this answer











          $endgroup$



          Actually in your case I guess the pure images are not that important. The features that you extract from them are important because if your feature space is constructed base on intensity of images at different picture elements, pixels, then you will need so many coefficients. As an easy solution, use MNIST digits and use shape features to extract features from the images of numbers. You can use plausible number of features and then use PCA for the data that is in the new feature space that you have just constructed. In this case smaller number of coefficients will be needed if the features are fine.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 23 '18 at 11:22

























          answered Jan 23 '18 at 11:17









          VaalizaadehVaalizaadeh

          7,61562265




          7,61562265












          • $begingroup$
            Thanks but as I said, I want to demonstrate PCA for the actual pixels of images.
            $endgroup$
            – elliotp
            Jan 23 '18 at 12:16










          • $begingroup$
            @elliotp You can use mnist to do so as well but I'm not sure how many coefficients will suffice for you purpose. I guess MNIST suites for your task because most of the numbers are centered, consequently center pixels with each other and marginal pixels with each other will have high correlation which may cause first principal components have great eigenvalues.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:26












          • $begingroup$
            @elliotp also as a suggestion, I recommend you to pick sample of images of two different labels and plot the three eigenvalues with the greatest amounts.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:48


















          • $begingroup$
            Thanks but as I said, I want to demonstrate PCA for the actual pixels of images.
            $endgroup$
            – elliotp
            Jan 23 '18 at 12:16










          • $begingroup$
            @elliotp You can use mnist to do so as well but I'm not sure how many coefficients will suffice for you purpose. I guess MNIST suites for your task because most of the numbers are centered, consequently center pixels with each other and marginal pixels with each other will have high correlation which may cause first principal components have great eigenvalues.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:26












          • $begingroup$
            @elliotp also as a suggestion, I recommend you to pick sample of images of two different labels and plot the three eigenvalues with the greatest amounts.
            $endgroup$
            – Vaalizaadeh
            Jan 23 '18 at 12:48
















          $begingroup$
          Thanks but as I said, I want to demonstrate PCA for the actual pixels of images.
          $endgroup$
          – elliotp
          Jan 23 '18 at 12:16




          $begingroup$
          Thanks but as I said, I want to demonstrate PCA for the actual pixels of images.
          $endgroup$
          – elliotp
          Jan 23 '18 at 12:16












          $begingroup$
          @elliotp You can use mnist to do so as well but I'm not sure how many coefficients will suffice for you purpose. I guess MNIST suites for your task because most of the numbers are centered, consequently center pixels with each other and marginal pixels with each other will have high correlation which may cause first principal components have great eigenvalues.
          $endgroup$
          – Vaalizaadeh
          Jan 23 '18 at 12:26






          $begingroup$
          @elliotp You can use mnist to do so as well but I'm not sure how many coefficients will suffice for you purpose. I guess MNIST suites for your task because most of the numbers are centered, consequently center pixels with each other and marginal pixels with each other will have high correlation which may cause first principal components have great eigenvalues.
          $endgroup$
          – Vaalizaadeh
          Jan 23 '18 at 12:26














          $begingroup$
          @elliotp also as a suggestion, I recommend you to pick sample of images of two different labels and plot the three eigenvalues with the greatest amounts.
          $endgroup$
          – Vaalizaadeh
          Jan 23 '18 at 12:48




          $begingroup$
          @elliotp also as a suggestion, I recommend you to pick sample of images of two different labels and plot the three eigenvalues with the greatest amounts.
          $endgroup$
          – Vaalizaadeh
          Jan 23 '18 at 12:48


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Data Science 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%2fdatascience.stackexchange.com%2fquestions%2f26948%2fdataset-of-extremely-low-dimensional-images-for-pca%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

          Ponta tanko

          Tantalo (mitologio)

          Erzsébet Schaár