MTCOV icon indicating copy to clipboard operation
MTCOV copied to clipboard

how can i update with zero values?

Open daisy-shining opened this issue 2 years ago • 1 comments

def _update_membership(self, subs_nz, subs_X_nz, u, v, w, beta, m)

cross validation is not working with zero entries.

daisy-shining avatar Jan 15 '23 16:01 daisy-shining

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

mcontisc avatar Jan 16 '23 16:01 mcontisc