aksnzhy / xlearn

High performance, easy-to-use, and scalable machine learning (ML) package, including linear model (LR), factorization machines (FM), and field-aware factorization machines (FFM) for Python and CLI interface.
https://xlearn-doc.readthedocs.io/en/latest/index.html
Apache License 2.0
3.09k stars 519 forks source link

fix Different results at each run(xLearn #237) #239

Closed etveritas closed 5 years ago

etveritas commented 5 years ago

Add random seed to ensure always have same results in same seed(Attention: without lock-free).

aksnzhy commented 5 years ago

@etveritas This PR looks nice. Approve to merge.