Coder Social home page Coder Social logo

Comments (3)

shuttie avatar shuttie commented on June 4, 2024

I guess the easiest way would be to copy-paste the most optimal params you've got after the optuna into the lightgbm model settings in metarank's config file and retrain. See this section for details: https://docs.metarank.ai/reference/overview/supported-ranking-models#xgboost-and-lightgbm-backend-options

The main issue with importing any trained model is that LGBM has 2.x, 3.x and 4.x formats available and we have to maintain some sort of support for some of these format flavors. It can be a bit tricky if you want to retrain/redeploy your model periodically in an automated way.

from metarank.

ohuarte-matrix avatar ohuarte-matrix commented on June 4, 2024

I think could be very valuable, to train a model in an external offline environment, so you can save the model into redis using a new endpoint in your metarank API, so in this API you can control LGBM versions

Thanks for your great work!!!

from metarank.

nmtruong93 avatar nmtruong93 commented on June 4, 2024

Thank you for your answer @shuttie. I agree with @ohuarte-matrix. You can put the model store path as a parameter so that users can train, deploy, and update by themself, like this link.

With meta rank hyper-params are not enough in my settings:

      iterations: Int = 100,
      learningRate: Double = 0.1,
      ndcgCutoff: Int = 10,
      maxDepth: Int = 8,
      seed: Int = 0,
      numLeaves: Int = 16,
      sampling: Double = 0.8

from metarank.

Related Issues (20)

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.