acbull / Unbiased_LambdaMart

Code for WWW'19 "Unbiased LambdaMART: An Unbiased Pairwise Learning-to-Rank Algorithm", which is based on LightGBM
MIT License
224 stars 50 forks source link

Readability #11

Closed paddy74 closed 5 years ago

paddy74 commented 5 years ago

Move the parse_data() function to datautils as it is functionally identical in both generate scripts. Add an additional parameter which indicates if it is from _eval or *_data.

Format evaluation/scripts/ python files to adhere to PEP8 standards. Format evaluation/json/*.json files to adhere to common JSON standards.