rwalk / gsdmm-rust Goto Github PK
View Code? Open in Web Editor NEWGSDMM: Short text clustering (Rust implementation)
License: MIT License
GSDMM: Short text clustering (Rust implementation)
License: MIT License
@rwalk Dear Ryan, Thanks so much for sharing this code!
For my runs there seems to be a little deviation from the behavior described in the docs: The file examples/grades/grades_out_label_probabilities.csv
is not produced. (The others mentioned are and everything seems to work fine.)
(Also, I suspect examples/grades_out_labels.csv
is a typo and should be examples/grades/grades_out_labels.csv
?)
Cheers,
Leo
The Yin and Wang 2014 paper also specifies an implementation with non-binary term counts. The formulas are a bit more difficult and the benefit is uncertain so I've not implemented it in the first pass.
The constructor for GSDMM with signature:
pub fn new(alpha:f64, beta:f64, K: usize, maxit:isize, vocab:HashSet<String>, docs:Vec<Vec<String>>) -> GSDMM
consumes the docs and vocab objects. This means that user will need to make copies of the data if they wish to use either of these vectors in subsequent processing.
Should be simple to refactor the interface to borrow these instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.