autonlab / fastlvm

Fast and scalable inference for various Latent Variable Models
MIT License
2 stars 1 forks source link

Implement random seed for HDP #5

Closed d8w closed 5 years ago

d8w commented 5 years ago

Allow specifying a random seed to make multiple pipeline results reproducible. Currently the score varies widely from multiple runs, e.g.0.43 - 0.7, on ('30_personae', 'classification', 'multiClass').

d8w commented 5 years ago

The seed is defined at https://github.com/autonlab/fastlvm/blob/5c73f34567689a924ca04341215bbc2bfd48623d/src/commons/fast_rand.h#L167 and initialized in the constructor at https://github.com/autonlab/fastlvm/blob/5c73f34567689a924ca04341215bbc2bfd48623d/src/commons/fast_rand.h#L13-L14