MTCOV
MTCOV copied to clipboard
how can i update with zero values?
def _update_membership(self, subs_nz, subs_X_nz, u, v, w, beta, m)
cross validation is not working with zero entries.
Hello, and thanks for using our code.
Do you mean zero entries in A and X? In this case, notice that we consider only entries in A and X different from zeros, because they enter as multipliers of terms in the updates of the parameters (check Algorithm 1 in the paper). Whenever they are zero, then the respective terms are not considered. Hence, we just take into account the elements of A and X different from zeros.
Let me know if I misunderstood your question, and please if you have an example post it here.
Martina