|
@@ -64,6 +64,8 @@ public class PAIModel {
|
|
|
featureKeyTuple.setV4(featureDef.typeCoverToTFDataType());
|
|
featureKeyTuple.setV4(featureDef.typeCoverToTFDataType());
|
|
|
featureKeys.add(featureKeyTuple);
|
|
featureKeys.add(featureKeyTuple);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ LOGGER.info("featureKeys: {}", JSON.toJSONString(featureKeys));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void initPredictClient() {
|
|
private void initPredictClient() {
|
|
@@ -136,7 +138,7 @@ public class PAIModel {
|
|
|
}
|
|
}
|
|
|
return resultMap;
|
|
return resultMap;
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
- LOGGER.error("pai eas error currentName: {}, {}", currentName, JSON.toJSONString(stringFeatureArr), e);
|
|
|
|
|
|
|
+ LOGGER.error("pai eas error currentName: {}", currentName, e);
|
|
|
Map<String, List<Float>> resultMap = new HashMap<>();
|
|
Map<String, List<Float>> resultMap = new HashMap<>();
|
|
|
for (String scoreKey : scoreKeys) {
|
|
for (String scoreKey : scoreKeys) {
|
|
|
resultMap.put(scoreKey, Collections.nCopies(size, 0.0f));
|
|
resultMap.put(scoreKey, Collections.nCopies(size, 0.0f));
|