Giter VIP home page Giter VIP logo

Comments (4)

njtierney avatar njtierney commented on August 22, 2024 1

Hi @jennybc,

A friend of mine worked on a similar idea of using an image and removing pixels and them imputed them, but he was using Singular Value Decomposition. Might be an interesting read: https://beelzebubjones1.blogspot.com.au/2014/07/a-sprinkling-of-pixel-dust.html

from simputation.

markvanderloo avatar markvanderloo commented on August 22, 2024

Thanks :-).

I have never imputed an image, but it is an interesting idea. This package assumes that variables are columns and cases are rows. Also, missings must be represented as NA. If you can represent the image as one or more columns, (RGB, hex codes) it could work. Perhaps a sequential hotdeck would be suitable. That would amount to imputing the neighboring pixel (which neighbor depending on how the image is unrolled to a vector).

Now that I think of it, if the image is represented as one or more matrices you could stick that in a data.frame , each column containing one matrx. I think that impute_shd() for sequential hot deck would work. Not really what I had in mind when I wrote this package, and I would have to test it but I don't see why it wouldn't work in principle.

from simputation.

markvanderloo avatar markvanderloo commented on August 22, 2024

Hi Jenny,

Just wandering: what package did you decide to use in the end? this one, or VIM, or something else?

Cheers,
Mark

from simputation.

jennybc avatar jennybc commented on August 22, 2024

In the end we ran out of time to treat this topic 😢. I had to choose between this and robust statistics. But I did provide them the link to this package and recommended they try it as soon as they need to impute.

I still think imputing an image would make a really nice visual example. I had thought about using a PNG of one (or more?) emoji and deleting pixels at random vs. in other strategic places ...

Sorry it didn't happen this time 'round.

from simputation.

Related Issues (20)

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.