Comments (4)
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.
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.
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.
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)
- rearrange documentation HOT 1
- add proper ratio-imputation
- imputing new data HOT 5
- add support for glm
- Error by Interacting with tibble 1.x HOT 5
- crash in impute_proxy with character variable HOT 1
- Back tick `variable names` fail in imputation formulae HOT 2
- fault in predictive mean matching HOT 1
- missForest `...` arguments
- providing a variable name by a variable containing the string HOT 1
- Grouping fails in case of median imputation HOT 1
- Using impute_mf with a tibble HOT 5
- Provide interface to mlr
- add a where argument
- Imputation fails with long formulas
- better error messages for data types pretending to be data.frame but really aren't HOT 2
- impute_rhd: pool = "complete": If a record has multiple missings, imputations are taken from a different donors HOT 2
- Error: Subscript `ina` is a matrix HOT 1
- Problem with impute_rhd (random hot deck) for multiple values
- Installation problem in R HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simputation.