提交 | 用户 | 时间
|
7fd198
|
1 |
package com.iailab.module.model.mdk.vo; |
潘 |
2 |
|
|
3 |
import lombok.AllArgsConstructor; |
|
4 |
import lombok.Builder; |
|
5 |
import lombok.Data; |
|
6 |
import lombok.NoArgsConstructor; |
|
7 |
|
|
8 |
import java.math.BigDecimal; |
|
9 |
|
|
10 |
/** |
|
11 |
* 模型实体 |
|
12 |
*/ |
|
13 |
@Data |
|
14 |
@AllArgsConstructor |
|
15 |
@NoArgsConstructor |
|
16 |
@Builder |
|
17 |
public class ModelVO { |
|
18 |
/** |
|
19 |
* 模型ID |
|
20 |
*/ |
|
21 |
private String id; |
|
22 |
|
|
23 |
/** |
|
24 |
* 模型编号 |
|
25 |
*/ |
|
26 |
private String modelNo; |
|
27 |
|
|
28 |
/** |
|
29 |
* 模型名称 |
|
30 |
*/ |
|
31 |
private String modelName; |
|
32 |
|
|
33 |
/** |
|
34 |
* 预测项ID |
|
35 |
*/ |
|
36 |
private String itemId; |
|
37 |
|
|
38 |
/** |
|
39 |
* 算法ID |
|
40 |
*/ |
|
41 |
private String arithId; |
|
42 |
|
|
43 |
/** |
|
44 |
* 训练样本长度 |
|
45 |
*/ |
|
46 |
private Integer trainSampleLength; |
|
47 |
|
|
48 |
/** |
|
49 |
* 预测样本长度 |
|
50 |
*/ |
|
51 |
private Integer predictSampleLength; |
|
52 |
|
|
53 |
/** |
|
54 |
* 是否在线训练 |
|
55 |
*/ |
|
56 |
private Integer isOnlineTrain; |
|
57 |
|
|
58 |
/** |
|
59 |
* 模型路径 |
|
60 |
*/ |
|
61 |
private String modelPath; |
|
62 |
|
|
63 |
/** |
|
64 |
* 是否归一化 |
|
65 |
*/ |
|
66 |
private Integer isNormal; |
|
67 |
|
|
68 |
/** |
|
69 |
* 归一化后的最大值 |
|
70 |
*/ |
|
71 |
private Double normalMax; |
|
72 |
|
|
73 |
/** |
|
74 |
* 归一化后的最小值 |
|
75 |
*/ |
|
76 |
private Double normalMin; |
|
77 |
|
|
78 |
/** |
|
79 |
* 是否参与预测 |
|
80 |
*/ |
|
81 |
private Integer status; |
|
82 |
|
|
83 |
/** |
|
84 |
* 类名称 |
|
85 |
*/ |
|
86 |
private String className; |
|
87 |
|
|
88 |
/** |
|
89 |
* 方法名称 |
|
90 |
*/ |
|
91 |
private String methodName; |
|
92 |
|
|
93 |
/** |
|
94 |
* 模型构造器 |
|
95 |
*/ |
|
96 |
private String modelParamStructure; |
|
97 |
|
|
98 |
/** |
|
99 |
* 结果ID |
|
100 |
*/ |
|
101 |
private String resultstrid; |
|
102 |
|
|
103 |
/** |
|
104 |
* settingMap |
|
105 |
*/ |
|
106 |
private String settingMap; |
|
107 |
|
|
108 |
/** |
|
109 |
* 训练模型路径 |
|
110 |
*/ |
|
111 |
private String trainModelPath; |
|
112 |
|
|
113 |
/** |
|
114 |
* 模型路径状态(1:需要更换,0:不需要更换) |
|
115 |
*/ |
|
116 |
private BigDecimal pathStatus; |
|
117 |
|
|
118 |
/** |
|
119 |
* 预测阶段需要输入的数据长度 |
|
120 |
*/ |
|
121 |
private Integer pdim; |
|
122 |
} |