lejon / PartiallyCollapsedLDA

Implementations of various fast parallelized samplers for LDA, including Partially Collapsed LDA, Light LDA, Partially Collapsed Light LDA and a very efficient Polya-Urn LDA
26 stars 20 forks source link

Python wrapper #18

Open acatovic opened 3 years ago

acatovic commented 3 years ago

Python wrapper, which uses subprocess module to call PCLDA binary. It will allow PCLDA to be used programmatically within Python, and to leverage memory-efficient streaming of textual data via iterables/generators, as opposed to files on disk.