简体   繁体   中英

What is the alpha parameter of YCSB zipf distribution

YCSB带有ZipfianGenerator类,此zipfian分布的alpha值是多少?

By checking the ZipfianGenerator code in the repository , the default value for alpha is 1/(1-theta) (line 142 ).

Theta is the 'zipfian constant' (line 137 ). Its default value is 0.99 (line 42 ), which gives an alpha value of 100 .

You can specify a different theta in the constructor to get a different alpha value.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM