pytorch-NMF
pytorch-NMF copied to clipboard
A pytorch package for non-negative matrix factorization.
Hi, thank you for this nice project. Could one connect a neural network to the NFM module, and learn them at the same time? Any example code or tips on...
While running the following codes: `net = NMF(data.shape, rank=self.basis_num, W=torch.Tensor(self.W), trainable_W=False).cuda()` `net.fit(data.cuda(), verbose=True, max_iter=200, tol=1e-18, beta=1)` I received the error message, any idea? /content/pytorchNMF/torchnmf/nmf.py in fit(self, V, beta, tol, max_iter,...
I am attempting to utilize nmf on video data. it is 3 dimensional but I have also collapsed it to 2 dimensions in hopes that would work(with appropriate NMF3D and...
I have a matrix $V$ whose dimension is $513 \times 15$. I want to find 15 $W_t$ matrices and an $H$ matrix such that This the equation 4 from the...
Hello! Thanks for your work on this package, however I have a few question: 1. In your script the H(N,R) is defined to be the mapping matrix that projects the...
Reference: - https://hal.science/hal-01393964/document
https://github.com/yoyololicon/pytorch-NMF/blob/b911e2e2030e9d2ec5f7b0b169aca4cb0ceca51a/torchnmf/nmf.py#L610
There is this fantastic pull request in sklearn which does not apply the loss value to parts of the matrix which have nan values. https://github.com/scikit-learn/scikit-learn/pull/8474 Is this possible in pytorch-NMF...