stephenslab / fastTopics

Fast algorithms for fitting topic models and non-negative matrix factorizations to count data.
https://stephenslab.github.io/fastTopics
Other
75 stars 7 forks source link

Properly handle count matrices with all-zero rows #15

Open pcarbo opened 3 years ago

pcarbo commented 3 years ago

All-zero rows are allowed for the Poisson NMF model, but don't make sense for the multinomial topic model. I need to add some extra checks to properly handle this special case.