Coder Social home page Coder Social logo

Comments (2)

acbull avatar acbull commented on May 23, 2024

There are mainly two hyper-parameters that can be tuned, which is all in the src/objective/rank_objective.hpp files. They are:

  double _eta               : this denotes how much regularization is posed to the position bias.
  size_t _position_bins     : this denotes the maximum positions taken into account.

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 I haven't implemented these hyperparameter tuning into the config file. Will consider adding them later.

For the second question, actually in our algorithm, estimating position bias cost relatively minor time compared to training lgb. Also the calculation of position bias will not influence the parallelization of lightgbm (you can check the code). Thus, I don't think there is a big difference of directly using our code on the large dataset with first estimating position bias then tuning lgb. Actually, our experiment is conducted on a relatively big dataset (12G) and the efficiency is equal to the original lightgbm version without debiasing.

from unbiased_lambdamart.

hbghhy avatar hbghhy commented on May 23, 2024

THX.

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.