What evaluation metric to use for LightGBM ranker function

Viewed 905

I'm using LGMRanker from LightGBM but not sure what evaluation metric I should be using. Here is my code:

import lightgbm as lgb


gbm = lgb.LGBMRanker
gridParams = {
'learning_rate': [0.005,0.01,0.02],
'max_depth': [5,6,7],
'n_estimators': [100,200],
'num_leaves': [20,30,50]
}
lgb_grid = GridSearchCV(estimator = gbm, param_grid = gridParams, scoring = '??', cv = 3, verbose=2, n_jobs = -1)

What' appropriate here? I don't have any group, should I specify something?

1 Answers
Related