Support 64bit seed. (#5643)

This commit is contained in:
Jiaming Yuan
2020-05-07 14:52:38 +08:00
committed by GitHub
parent eaf2a00b5c
commit 21ed1f0c6d
2 changed files with 23 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ struct GenericParameter : public XGBoostParameter<GenericParameter> {
public:
// stored random seed
int seed;
int64_t seed;
// whether seed the PRNG each iteration
bool seed_per_iteration;
// number of threads to use if OpenMP is enabled