Expand description
Fixed-factor NNLS refits. Solves for one factor while the other is frozen, which is what a consensus NMF needs once the consensus factor has been assembled from the clustered restarts.
Freezing a factor makes both of its data products constant, so W^T V (or
V H^T) is computed once up front rather than once per iteration. That is
the expensive part of a HALS sweep, so a refit is far cheaper than a full
solve of the same iteration count.
Functionsยง
- nmf_
refit_ h - Refit H against a frozen W.
- nmf_
refit_ w - Refit W against a frozen H.