Factorizations¶
-
class
untwist.factorizations.
NMF
(rank, update_func='kl', iterations=100, threshold=None, W_norm=2, H_norm=0, update_W=True, update_H=True, return_divergence=False, beta=0)[source]¶ General NMF class, including euclidean, kl and beta-divergence implementations. For supervised NMF, typically set update_W to false in the constructor and provide a W0 to the process method
-
class
untwist.factorizations.
RPCA
(iterations=100, threshold=None, l=1, mu=1.25, rho=1.5)[source]¶ Robust PCA, Inexact ALM method Based on http://perception.csl.illinois.edu/matrix-rank/sample_code.html