|
@@ -130,24 +130,24 @@ public class AlgorithmController extends BaseController {
|
|
|
public Response<ResponseData> combine(HttpServletRequest request, SearchData searchData) throws Exception {
|
|
|
ResponseData responseData = new ResponseData();
|
|
|
logger.info("开始推送服务......");
|
|
|
- LisApplication lisApplication = new LisApplication();
|
|
|
- if ((searchData.getLisArr() == null || searchData.getLisArr().size() == 0)
|
|
|
- && StringUtils.isNotEmpty(searchData.getLis())) {
|
|
|
- Pretreatment pretreatment = new PretreatmentLis();
|
|
|
- searchData.setLisArr(pretreatment.analyze(searchData.getLis()));
|
|
|
- }
|
|
|
- lisApplication.lisConvertToInputs(searchData.getLisArr(),searchData);
|
|
|
-
|
|
|
+// LisApplication lisApplication = new LisApplication();
|
|
|
+// if ((searchData.getLisArr() == null || searchData.getLisArr().size() == 0)
|
|
|
+// && StringUtils.isNotEmpty(searchData.getLis())) {
|
|
|
+// Pretreatment pretreatment = new PretreatmentLis();
|
|
|
+// searchData.setLisArr(pretreatment.analyze(searchData.getLis()));
|
|
|
+// }
|
|
|
+// lisApplication.lisConvertToInputs(searchData.getLisArr(),searchData);
|
|
|
+//
|
|
|
Response<ResponseData> response = new Response();
|
|
|
- //一些基本信息预处理 如年龄 性别
|
|
|
- ParamsDataProxy paramsDataProxy = new ParamsDataProxy();
|
|
|
- paramsDataProxy.createNormalInfo(searchData);
|
|
|
- //数据预处理
|
|
|
- PretreatmentRule pretreatmentRule = new PretreatmentRule();
|
|
|
- pretreatmentRule.rule(searchData);
|
|
|
- //危机值
|
|
|
- CrisisApplication crisisApplication = new CrisisApplication();
|
|
|
- responseData.setCrisisDetails(crisisApplication.crisisContent(searchData));
|
|
|
+// //一些基本信息预处理 如年龄 性别
|
|
|
+// ParamsDataProxy paramsDataProxy = new ParamsDataProxy();
|
|
|
+// paramsDataProxy.createNormalInfo(searchData);
|
|
|
+// //数据预处理
|
|
|
+// PretreatmentRule pretreatmentRule = new PretreatmentRule();
|
|
|
+// pretreatmentRule.rule(searchData);
|
|
|
+// //危机值
|
|
|
+// CrisisApplication crisisApplication = new CrisisApplication();
|
|
|
+// responseData.setCrisisDetails(crisisApplication.crisisContent(searchData));
|
|
|
|
|
|
//大数据推送
|
|
|
// searchData.setLength(6); //模型推送最多6个比较合理
|