如何使用PredictXGBoostModel?
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 657
- PR merge metrics
- No merged PRs in 30d
Description
请问一下 我在example/conf/rank.conf 中把
rank_predictor {
type: "PredictLinearModel"
using_dict_name: "rank_weights"
}
替换成下面两种
rank_predictor {
type: "PredictXGBoostModel"
using_dict_name: "rank_weights"
}
rank_predictor {
type: "PredictXGBoostModel"
}
但重启后接收请求,发现都会出现以下错误
Require ServerOptions.session_local_data_factory to be set!
请问该如何配置PredictXGBoostModel呢?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with example/conf/rank.conf and trace the configuration for PredictXGBoostModel, then search for the Require ServerOptions.session_local_data_factory to be set! error and its session_local_data_factory requirement. Done means a documented working configuration allows requests to complete after restarting the server without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100