|
@@ -86,10 +86,6 @@ public class LogHubServiceImpl implements LogHubService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- for (Map.Entry<String, Double> entry : rankItem.getScoreMap().entrySet()) {
|
|
|
- featureJson.put(entry.getKey(), entry.getValue().toString());
|
|
|
- }
|
|
|
-
|
|
|
if (MapUtils.isNotEmpty(featureJson)) {
|
|
|
json.put("allfeature", featureJson);
|
|
|
}
|
|
@@ -110,11 +106,6 @@ public class LogHubServiceImpl implements LogHubService {
|
|
|
|
|
|
top1.getScoreMap().put("score", top1.getScore());
|
|
|
logMap.put("scoremap", JSON.toJSONString(top1.getScoreMap()));
|
|
|
-
|
|
|
- for (Map.Entry<String, Double> entry : top1.getScoreMap().entrySet()) {
|
|
|
- top1.getFeatureMap().put(entry.getKey(), entry.getValue().toString());
|
|
|
- }
|
|
|
-
|
|
|
logMap.put("allfeature", JSON.toJSONString(top1.getFeatureMap()));
|
|
|
logMap.put("metafeature", JSON.toJSONString(top1.getMetaFeatureMap()));
|
|
|
|