|
@@ -196,12 +196,13 @@ public class ScorerPipeline {
|
|
|
}
|
|
|
List<RankItem> items = rankItems;
|
|
|
|
|
|
- Map<String, String> userFeatMap = userFeatureMap;
|
|
|
+ Map<String, String> userFeatMap;
|
|
|
for (final AbstractScorer scorer : scorers) {
|
|
|
if (!scorer.isEnable()) {
|
|
|
continue;
|
|
|
}
|
|
|
- if (scorer.scorerConfigInfo.getModelPath().equals("zhangbo/model_xgb_for_recsys_nor.tar.gz")) {
|
|
|
+ userFeatMap = userFeatureMap;
|
|
|
+ if (scorer.scorerConfigInfo.getModelPath().equals("_nor.tar.gz")) {
|
|
|
userFeatMap = norUserFeatureMap;
|
|
|
}
|
|
|
|