Giter Club home page Giter Club logo

khurramshafiq07 / image-compression-principal-component-analysis-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vivekrmk/image-compression-principal-component-analysis-pytorch

0.0 0.0 0.0 3.85 MB

In this tutorial we can use the Pytorchs efficient PCA implementation for performing data compression by retaining essential features of an Image. With the result of the PCA tensor, we also try to reconstruct the original Image.

License: MIT License

Jupyter Notebook 100.00%

image-compression-principal-component-analysis-pytorch's Introduction

Image-Compression-Principal-Component-Analysis-Pytorch

In this tutorial we can use the Pytorchs efficient PCA implementation for performing data compression by retaining essential features of an Image. With the result of the PCA tensor, we also try to reconstruct the original Image.

Principal component Analysis aids towards meaningful inference of important features of data samples, especially when the given data set of samples is drawn from a homogenous population. Here we use PCA to project data into a lower dimension and also project it back to its original dimension.

Prerequisites

Familiarity with topics in Linear Algebra such as matrix multiplication is a must, good to know concepts such as Singular value decomposition. Familiarity with Python will be needed.

What it does

In this tutorial we can use the Pytorchs efficient PCA implementation for performing data compression by retaining essential features of an Image. After image compression, we will construct the original image back, Yes there will be some data loss when we reconstruct. We will visualize the newly constructed image after varying the compression parameter or number of principal components. Lets get started! reccomend a virtual environment setting, To read about creating a virtual environemnt https://docs.python.org/3/library/venv.html

image-compression-principal-component-analysis-pytorch's People

Contributors

vivekrmk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.