|
@@ -128,7 +128,11 @@ public class PAIModelV1 {
|
|
|
final Map<String, String> userFeatureMap,
|
|
|
final Map<String, String> sceneFeatureMap) {
|
|
|
try {
|
|
|
- LOGGER.info("PAIModelV1 items={}", JSON.toJSONString(items.get(0).getFeatureMap()));
|
|
|
+ Map<String, String> map = new HashMap<>();
|
|
|
+ map.putAll(items.get(0).getFeatureMap());
|
|
|
+ map.putAll(userFeatureMap);
|
|
|
+ map.putAll(sceneFeatureMap);
|
|
|
+ LOGGER.info("PAIModelV1 allFeature={}", map);
|
|
|
TFRequest request = new TFRequest();
|
|
|
|
|
|
for (String feature : sparseUserStrFeatures) {
|