Hi QingyaoAi,
Thanks for releasing code.
In main function of Prepare_yahoo_letor_data_set1.py, the statement:
RANK_CUT = sys.argv[4]
seems should be modified as:
RANK_CUT = int(sys.argv[4])
Otherwise, RANK_CUT is a str, for example '10', its ASCII code is much larger than its int type number.
Hi QingyaoAi, Thanks for releasing code. In main function of Prepare_yahoo_letor_data_set1.py, the statement: RANK_CUT = sys.argv[4] seems should be modified as: RANK_CUT = int(sys.argv[4]) Otherwise, RANK_CUT is a str, for example '10', its ASCII code is much larger than its int type number.