Git Product home page Git Product logo

Comments (3)

acbull avatar acbull commented on May 24, 2024

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:

image

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.

ubuntuone avatar ubuntuone commented on May 24, 2024

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.

ubuntuone avatar ubuntuone commented on May 24, 2024

Yes, I have checked trec's document and seen ndcg cal is diff.
Thks!

from unbiased_lambdamart.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.