tonyduan / matrix-completion

Lightweight Python library for in-memory matrix completion.
Eclipse Public License 1.0
104 stars 27 forks source link

How to know input matrix to complete? #1

Closed JasOlean closed 5 years ago

JasOlean commented 5 years ago

I would like to know how can I decide the input matrix to complete before using matrix-completion?

tonyduan commented 5 years ago

Typically this is decided with domain knowledge.

For example, when predicting movie recommendations the matrix can represent users along one axis and movies along another. We make incomplete observations of the matrix (only a subset of movies are rated by each user), and use completion to predict ratings for unseen movies.

This paper is fairly accessible: https://papers.nips.cc/paper/3208-probabilistic-matrix-factorization.pdf.

JasOlean commented 5 years ago

In my case, I have missing joints for pose estimation. I want to recover these joints using matrix completion. So, do you think could I use these methods to recover missing joints for pose? For the mask, how to define that?

tonyduan commented 5 years ago

Unfortunately, I don't have much domain expertise in pose estimation, so I'm not quite sure if matrix estimation is the best way to frame the problem.

The mask is a matrix of the same shape as the matrix you're trying to complete, with entries 1 (indicating observed) or 0 (indicating missing).