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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
input_mapping:
|
2 |
+
"%C":
|
3 |
+
label: "Enter the proportion of C"
|
4 |
+
comp_type: "Number"
|
5 |
+
precision: 5
|
6 |
+
example: [0.2, 0.6, 1.15]
|
7 |
+
"%Co":
|
8 |
+
label: "Enter the proportion of Co"
|
9 |
+
comp_type: "Number"
|
10 |
+
precision: 5
|
11 |
+
example: [5, 5, 10]
|
12 |
+
"%Cr":
|
13 |
+
label: "Enter the proportion of Cr"
|
14 |
+
comp_type: "Number"
|
15 |
+
precision: 5
|
16 |
+
example: [3.9, 3.9, 3.9]
|
17 |
+
"%V":
|
18 |
+
label: "Enter the proportion of V"
|
19 |
+
comp_type: "Number"
|
20 |
+
precision: 5
|
21 |
+
example: [2.1, 2.1, 2.1]
|
22 |
+
"%Mo":
|
23 |
+
label: "Enter the proportion of Mo"
|
24 |
+
comp_type: "Number"
|
25 |
+
precision: 5
|
26 |
+
example: [5, 5, 5]
|
27 |
+
"%W":
|
28 |
+
label: "Enter the proportion of W"
|
29 |
+
comp_type: "Number"
|
30 |
+
precision: 5
|
31 |
+
example: [1.2, 0.001, 1.2]
|
32 |
+
"Temperature_C":
|
33 |
+
label: "Enter the heat treatment temperature"
|
34 |
+
comp_type: "Number"
|
35 |
+
precision: 5
|
36 |
+
example: [560, 550, 525]
|
37 |
+
|
38 |
+
|
39 |
+
input_order:
|
40 |
+
- keys: ["%C", "%Co", "%Cr", "%V", "%Mo", "%W"]
|
41 |
+
markdown: "Your alloy formula"
|
42 |
+
- keys: ["Temperature_C"]
|
43 |
+
markdown: "Your heat treatment conditions"
|
44 |
+
|
45 |
+
|
46 |
+
output_mapping:
|
47 |
+
# "M6C":
|
48 |
+
# label: "M6C"
|
49 |
+
# comp_type: "Number"
|
50 |
+
# precision: 2
|
51 |
+
# "M23C6":
|
52 |
+
# label: "M23C6"
|
53 |
+
# comp_type: "Number"
|
54 |
+
# precision: 2
|
55 |
+
# "FCCA1#2":
|
56 |
+
# label: "FCCA1#2"
|
57 |
+
# comp_type: "Number"
|
58 |
+
# precision: 2
|
59 |
+
# "M2C":
|
60 |
+
# label: "M2C"
|
61 |
+
# comp_type: "Number"
|
62 |
+
# precision: 2
|
63 |
+
# "MC - SHP":
|
64 |
+
# label: "MC - SHP"
|
65 |
+
# comp_type: "Number"
|
66 |
+
# precision: 2
|
67 |
+
# "MC ETA":
|
68 |
+
# label: "MC ETA"
|
69 |
+
# comp_type: "Number"
|
70 |
+
# precision: 2
|
71 |
+
# "%C matrice":
|
72 |
+
# label: "Element C in the matrix"
|
73 |
+
# comp_type: "Number"
|
74 |
+
# precision: 2
|
75 |
+
# "%Co matrice":
|
76 |
+
# label: "Element Co in the matrix"
|
77 |
+
# comp_type: "Number"
|
78 |
+
# precision: 2
|
79 |
+
# "%Cr matrice":
|
80 |
+
# label: "Element Cr in the matrix"
|
81 |
+
# comp_type: "Number"
|
82 |
+
# precision: 2
|
83 |
+
# "%V matrice":
|
84 |
+
# label: "Element V in the matrix"
|
85 |
+
# comp_type: "Number"
|
86 |
+
# precision: 2
|
87 |
+
# "%Mo matrice":
|
88 |
+
# label: "Element Mo in the matrix"
|
89 |
+
# comp_type: "Number"
|
90 |
+
# precision: 2
|
91 |
+
# "%W matrice":
|
92 |
+
# label: "Element W in the matrix"
|
93 |
+
# comp_type: "Number"
|
94 |
+
# precision: 2
|
95 |
+
# Hv:
|
96 |
+
# label: "Estimated alloy Hardness (HV)"
|
97 |
+
# comp_type: "Number"
|
98 |
+
# precision: 0
|
99 |
+
# # is_target_column: True
|
100 |
+
# Hv_uncertainty:
|
101 |
+
# label: "Confidence interval for hardness prediction (HV)"
|
102 |
+
# comp_type: "Number"
|
103 |
+
# precision: 0
|
104 |
+
"M6C":
|
105 |
+
label: "M6C"
|
106 |
+
comp_type: "Text"
|
107 |
+
"M23C6":
|
108 |
+
label: "M23C6"
|
109 |
+
comp_type: "Text"
|
110 |
+
"FCCA1#2":
|
111 |
+
label: "FCCA1#2"
|
112 |
+
comp_type: "Text"
|
113 |
+
"M2C":
|
114 |
+
label: "M2C"
|
115 |
+
comp_type: "Text"
|
116 |
+
"MC - SHP":
|
117 |
+
label: "MC - SHP"
|
118 |
+
comp_type: "Text"
|
119 |
+
"MC ETA":
|
120 |
+
label: "MC ETA"
|
121 |
+
comp_type: "Text"
|
122 |
+
"%C matrice":
|
123 |
+
label: "Element C in the matrix"
|
124 |
+
comp_type: "Text"
|
125 |
+
"%Co matrice":
|
126 |
+
label: "Element Co in the matrix"
|
127 |
+
comp_type: "Text"
|
128 |
+
"%Cr matrice":
|
129 |
+
label: "Element Cr in the matrix"
|
130 |
+
comp_type: "Text"
|
131 |
+
"%V matrice":
|
132 |
+
label: "Element V in the matrix"
|
133 |
+
comp_type: "Text"
|
134 |
+
"%Mo matrice":
|
135 |
+
label: "Element Mo in the matrix"
|
136 |
+
comp_type: "Text"
|
137 |
+
"%W matrice":
|
138 |
+
label: "Element W in the matrix"
|
139 |
+
comp_type: "Text"
|
140 |
+
Hv:
|
141 |
+
label: "Estimated alloy Hardness (HV)"
|
142 |
+
comp_type: "Text"
|
143 |
+
Hv_uncertainty:
|
144 |
+
label: "Confidence interval for hardness prediction (HV)"
|
145 |
+
comp_type: "Text"
|
146 |
+
|
147 |
+
# Output order must exclude the interpretation
|
148 |
+
output_order:
|
149 |
+
- keys: ["%C matrice", "%Co matrice", "%Cr matrice", "%V matrice", "%Mo matrice", "%W matrice"]
|
150 |
+
markdown: "Your estimated matrix proportions"
|
151 |
+
- keys: ["M6C", "M23C6", "FCCA1#2", "M2C", "MC - SHP", "MC ETA"]
|
152 |
+
markdown: "Your estimated phase proportions"
|
153 |
+
- keys: ["Hv", "Hv_uncertainty"]
|
154 |
+
markdown: "Your estimated alloy hardness"
|
155 |
+
|
156 |
+
|
157 |
+
|
158 |
+
interface_parameters:
|
159 |
+
additional_markdown:
|
160 |
+
page_title: "Alloy's properties prediction"
|
161 |
+
main_title: "Predict the hardness (Hv) of your alloy"
|
162 |
+
details: "This AI model provides the estimation of the hardness (Hv) of your alloy"
|
163 |
+
interpretation: "Results interpretation" # Necessary only for prediction (useless for inverse design)
|
164 |
+
size:
|
165 |
+
input_column_scale: 0.2
|
166 |
+
input_column_min_width: 50
|
167 |
+
|
168 |
+
|
169 |
+
inference:
|
170 |
+
inverse_design: False
|
171 |
+
show_interpretation: True
|
172 |
+
preprocessing: "alloy_preprocessing"
|
173 |
+
model_path: ""
|
174 |
+
model_path_constraints: ""
|
175 |
+
multiple_model_path:
|
176 |
+
"%C matrice": "./physics_models_all/%C matrice_lr0-001/model_%C matrice.h5"
|
177 |
+
"%Co matrice": "./physics_models_all/%Co matrice_lr0-001/model_%Co matrice.h5"
|
178 |
+
"%Cr matrice": "./physics_models_all/%Cr matrice_lr0-001/model_%Cr matrice.h5"
|
179 |
+
"%V matrice": "./physics_models_all/%V matrice_lr0-001/model_%V matrice.h5"
|
180 |
+
"%Mo matrice": "./physics_models_all/%Mo matrice_lr0-001/model_%Mo matrice.h5"
|
181 |
+
"%W matrice": "./physics_models_all/%W matrice_lr0-001/model_%W matrice.h5"
|
182 |
+
"M6C": "./physics_models_all/M6C_lr0-001/model_M6C.h5"
|
183 |
+
"M23C6": "./physics_models_all/M23C6_lr0-001/model_M23C6.h5"
|
184 |
+
"FCCA1#2": "./physics_models_all/FCCA1#2_lr0-001/model_FCCA1#2.h5"
|
185 |
+
"M2C": "./physics_models_all/M2C_lr0-001/model_M2C.h5"
|
186 |
+
# "MC - SHP": "./physics_models/MC - SHP_lr0-001/model_MC - SHP.h5"
|
187 |
+
"MC - SHP": "./physics_models_all/MC - SHP_rf/model_MC - SHP.pkl"
|
188 |
+
# "MC ETA": "./physics_models/MC ETA_lr0-001/model_MC ETA.h5"
|
189 |
+
"MC ETA": "./physics_models_all/MC ETA_rf/model_MC ETA.pkl"
|
190 |
+
encoder_path: ""
|
191 |
+
scaler_inputs_path: "./physics_models_all/%C matrice_lr0-001/minmax_scaler_inputs.pickle"
|
192 |
+
scaler_targets_path: ""
|
193 |
+
multiple_scaler_targets_path:
|
194 |
+
"%C matrice": "./physics_models_all/%C matrice_lr0-001/minmax_scaler_targets.pickle"
|
195 |
+
"%Co matrice": "./physics_models_all/%Co matrice_lr0-001/minmax_scaler_targets.pickle"
|
196 |
+
"%Cr matrice": "./physics_models_all/%Cr matrice_lr0-001/minmax_scaler_targets.pickle"
|
197 |
+
"%V matrice": "./physics_models_all/%V matrice_lr0-001/minmax_scaler_targets.pickle"
|
198 |
+
"%Mo matrice": "./physics_models_all/%Mo matrice_lr0-001/minmax_scaler_targets.pickle"
|
199 |
+
"%W matrice": "./physics_models_all/%W matrice_lr0-001/minmax_scaler_targets.pickle"
|
200 |
+
"M6C": "./physics_models_all/M6C_lr0-001/minmax_scaler_targets.pickle"
|
201 |
+
"M23C6": "./physics_models_all/M23C6_lr0-001/minmax_scaler_targets.pickle"
|
202 |
+
"FCCA1#2": "./physics_models_all/FCCA1#2_lr0-001/minmax_scaler_targets.pickle"
|
203 |
+
"M2C": "./physics_models_all/M2C_lr0-001/minmax_scaler_targets.pickle"
|
204 |
+
# "MC - SHP": "./physics_models/MC - SHP_lr0-001/minmax_scaler_targets.pickle"
|
205 |
+
"MC - SHP": "./physics_models_all/MC - SHP_rf/minmax_scaler_targets.pickle"
|
206 |
+
# "MC ETA": "./physics_models/MC ETA_lr0-001/minmax_scaler_targets.pickle"
|
207 |
+
"MC ETA": "./physics_models_all/MC ETA_rf/minmax_scaler_targets.pickle"
|
208 |
+
explainer_path: ""
|
209 |
+
multiple_explainer_path: {}
|
210 |
+
# "%C matrice": "./physics_models/%C matrice_lr0-001/explainer.bz2"
|
211 |
+
# "%Co matrice": "./physics_models/%Co matrice_lr0-001/explainer.bz2"
|
212 |
+
# "%Cr matrice": "./physics_models/%Cr matrice_lr0-001/explainer.bz2"
|
213 |
+
# "%V matrice": "./physics_models/%V matrice_lr0-001/explainer.bz2"
|
214 |
+
# "%Mo matrice": "./physics_models/%Mo matrice_lr0-001/explainer.bz2"
|
215 |
+
# "%W matrice": "./physics_models/%W matrice_lr0-001/explainer.bz2"
|
216 |
+
# "M6C": "./physics_models/M6C_lr0-001/explainer.bz2"
|
217 |
+
# "M23C6": "./physics_models/M23C6_lr0-001/explainer.bz2"
|
218 |
+
# "FCCA1#2": "./physics_models/FCCA1#2_lr0-001/explainer.bz2"
|
219 |
+
# "M2C": "./physics_models/M2C_lr0-001/explainer.bz2"
|
220 |
+
# "MC - SHP": "./physics_models/MC - SHP_lr0-001/explainer.bz2"
|
221 |
+
# "MC ETA": "./physics_models/MC ETA_lr0-001/explainer.bz2"
|
222 |
+
num_iterations: 0
|
223 |
+
final_prediction:
|
224 |
+
target_cols: ["Hv"]
|
225 |
+
# model_path: "./physics_models/Hv_lr0-001/model_Hv.h5"
|
226 |
+
# model_path: "./m_models/hardness_physics2/ensemble_model.pkl"
|
227 |
+
model_path: "./main_models/new_100_hardness_physics/ensemble_model.pkl"
|
228 |
+
# model_path: "./m_models/hardness_physics3/ensemble_model.pkl"
|
229 |
+
multiple_model_path: False
|
230 |
+
encoder_path: ""
|
231 |
+
scaler_inputs_path: "./main_models/new_100_hardness_physics/seed0/minmax_scaler_inputs.pickle"
|
232 |
+
scaler_targets_path: "./main_models/new_100_hardness_physics/seed0/minmax_scaler_targets.pickle"
|
233 |
+
# explainer_path: "./physics_models/Hv_lr0-001/explainer.bz2"
|
234 |
+
explainer_path: "./main_models/new_100_hardness_physics/explainer.bz2"
|
235 |
+
uncertainty_prediction: True
|
236 |
+
# model_path: "./test_models3/"
|
237 |
+
# model_name: "model_hardness.h5"
|
238 |
+
columns_to_mask: ["density", "young_modulus", "valence_electron_concentration", "configuration_entropy", "electronegativity"]
|
239 |
+
|
240 |
+
|
241 |
+
domain_space:
|
242 |
+
uncertainty_space_dict:
|
243 |
+
"%C":
|
244 |
+
"min": 0
|
245 |
+
"max": 2
|
246 |
+
"step": 0.1
|
247 |
+
"step_display": 0.1
|
248 |
+
"value": 0.5
|
249 |
+
"%Co":
|
250 |
+
"min": 2
|
251 |
+
"max": 15
|
252 |
+
# "max": 3
|
253 |
+
"step": 1
|
254 |
+
"step_display": 0.1
|
255 |
+
"value": 10
|
256 |
+
# "value": 2
|
257 |
+
"%Cr":
|
258 |
+
"min": 1.9
|
259 |
+
"max": 5.5
|
260 |
+
# "max": 2.4
|
261 |
+
"step": 0.5
|
262 |
+
"step_display": 0.1
|
263 |
+
"value": 3.9
|
264 |
+
# "value": 1.9
|
265 |
+
"%V":
|
266 |
+
"min": 1.1
|
267 |
+
"max": 3.5
|
268 |
+
# "max": 1.6
|
269 |
+
"step": 0.5
|
270 |
+
"step_display": 0.1
|
271 |
+
"value": 2.1
|
272 |
+
# "value": 1.1
|
273 |
+
"%Mo":
|
274 |
+
"min": 3
|
275 |
+
"max": 7
|
276 |
+
"step": 1
|
277 |
+
"step_display": 0.1
|
278 |
+
"value": 5
|
279 |
+
"%W":
|
280 |
+
"min": 0
|
281 |
+
"max": 4
|
282 |
+
"step": 0.5
|
283 |
+
"step_display": 0.1
|
284 |
+
"value": 3
|
285 |
+
explored_space_dict:
|
286 |
+
"%C":
|
287 |
+
min: 0.15
|
288 |
+
max: 1.25
|
289 |
+
"%Co":
|
290 |
+
min: 5
|
291 |
+
max: 15
|
292 |
+
"%Cr":
|
293 |
+
min: 3.9
|
294 |
+
max: 3.9
|
295 |
+
"%V":
|
296 |
+
min: 2.1
|
297 |
+
max: 2.1
|
298 |
+
"%Mo":
|
299 |
+
min: 5
|
300 |
+
max: 5
|
301 |
+
"%W":
|
302 |
+
min: 0.001
|
303 |
+
max: 3.1
|
304 |
+
additional_trace_name: "Prediction input point"
|
305 |
+
design_space_path: "./df_uncertainty_space_vl2_scaled.csv"
|
306 |
+
|
307 |
+
webapp:
|
308 |
+
server_port: 7863
|