Scikit-learn non-negative matrix factorization (NMF) for sparse matrix
In your data matrix the missing values can be 0, but rather than storing a bunch of zeros for a very sparse matrix you would usually store a COO matrix instead, where each row is stored in CSR format.
If you are using NMF for recommendations, then you would be factorising your data matrix X by finding W and H such that W.H approximately equals X with the condition that all three matrices are non-negative. When you reconstruct this matrix X some of the missing values (where you would have stored zeros) may become non-zero and some may remain zero. At this point, in the reconstructed matrix, the values are your predictions.
So to answer your question, are they 0's or missing data in the NMF model? The NMF model once fit will contain your predicted values, so I would count them as zero. This is a method of predicting missing values in the data.
I am using Scikit-learn's non-negative matrix factorization (NMF) to perform NMF on a sparse matrix where the zero entries are missing data. I was wondering if the Scikit-learn's NMF implementation views zero entries as 0 or missing data.
Thank you!