Browse Source

优化自动机器学习

dev-active_learn
chenzhihang 9 months ago
parent
commit
560b85297f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/AutoMlServiceImpl.java

+ 1
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/AutoMlServiceImpl.java View File

@@ -157,7 +157,7 @@ public class AutoMlServiceImpl implements AutoMlService {
AutoMlParamVo autoMlParam = new AutoMlParamVo(); AutoMlParamVo autoMlParam = new AutoMlParamVo();
BeanUtils.copyProperties(autoMl, autoMlParam); BeanUtils.copyProperties(autoMl, autoMlParam);
autoMlParam.setDataset(JsonUtils.jsonToMap(autoMl.getDataset())); autoMlParam.setDataset(JsonUtils.jsonToMap(autoMl.getDataset()));
String param = JsonUtils.getConvertParam(autoMlParam);
String param = JsonUtils.objectToJson(autoMlParam);
// 调argo转换接口 // 调argo转换接口
try { try {
String convertRes = HttpUtils.sendPost(argoUrl + convertAutoML, param); String convertRes = HttpUtils.sendPost(argoUrl + convertAutoML, param);


Loading…
Cancel
Save