-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c90ec19
commit 64a148c
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
The svm.py generates semi-synthetic data, when base ranker is naive-svm. To run this code, use python2, along with the follwing arguments | ||
|
||
argument 1: 99% of train data in set1 of Yahoo! learning-to-rank dataset | ||
|
||
argument 2: prediction file that contains base ranker scores for 99% of train data | ||
|
||
argument 3: output file address in which naive-svm data will be written in | ||
|
||
argument 4: output file address in which propensity-svm data will be written in | ||
|
||
argument 5: output file address in which heckmanRank data will be written in | ||
|
||
argument 6: number of passes or sampling times, which is 5 in our results | ||
|
||
argument 7: cut off (k), which is 0-29 | ||
|
||
argument 8: eta or severity of position bias (0, 0.5, 1, 1.5 and 2 in our results) |