Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case statement in ranking expressions #33096

Open
bratseth opened this issue Jan 10, 2025 · 1 comment
Open

Case statement in ranking expressions #33096

bratseth opened this issue Jan 10, 2025 · 1 comment
Assignees
Milestone

Comments

@bratseth
Copy link
Member

From a user that wants to parametrize which model to use:

I can do this:

expression: if(query(l2_rel_model) == "model_name", xgboost("model_name.json"), 0)
but we have a dozen of models and that would be a real mess

@hmusum hmusum added this to the soon milestone Jan 22, 2025
@hmusum
Copy link
Member

hmusum commented Jan 22, 2025

Do only in config model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants