Comments (3)
Sorry for the incomplete README and some bugs in the config file before...
(1) The original training directory is mistaken. the train_data should be "train_data = ../test_data/letor.user_browsing_model_0_train". (I've already fixed it).
(2) The data in generate_data are synthetic click data, which is not that meaningful for evaluation. What we really interested in is the result for real data. Therefore, after we get the model output result, we need to:
cd ../scripts
python eval.py ../configs/LightGBM_predict_result.txt #or any other model output.
to do evaluation using trec (I've also added in the README now).
Also by the way, the experiment of the big table in my paper is the one not using regularization (L-0). The default regularization term in this Github is 0.5 (L-0.5), which will lead to a little bit lower result, but still much better than the original lightgbm without debiasing (which can be shown in figure 3.b).
Here is my evaluation output for your reference, the NDCG@10 with L-0.5 regularizer is 0.7535, while the original lightgbm without debiasing in my previous experiment is 0.716:
And if you want to re-implement the result of our table, you can change the regularization term back to 0, by modifying
double _eta = 1.0 / (1 + 0.5);
in the src/objective/rank_objective.hpp (Line 418) to
double _eta = 1.0 / (1 + 0);
Sorry for the mistakes... And hope it solves your problems.
from unbiased_lambdamart.
Thanks a lot.
I have use eval.py to evaluate test file and get original lightgbm is lower than Unbiased_LambdaMart on NDCG@10.
from unbiased_lambdamart.
Yes, I have checked trec's document and seen ndcg cal is diff.
Thks!
from unbiased_lambdamart.
Related Issues (12)
- Jupyter notebook example HOT 4
- AppleClang not supported -- Setup on Mac. HOT 3
- Want to use PythonAPI to train and predict. HOT 2
- Why is sigma = 2? HOT 2
- Question about `position_bins`
- Question about reading "XXX.train" file
- segmentation fault HOT 3
- How to tune hyperparameter when use the lambdamart example HOT 2
- Add LICENSE.md to project root HOT 1
- Reccommend using a submodule+fork for Unbias_LightGBM HOT 7
- Broken Link in README.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unbiased_lambdamart.