## 4 Applications
### Analysis and Comparison of Batching Results
#### 4.4.2 Case 2: When the Formula at the Present Moment Does Not Meet the Production Requirements  
As shown in Table 7, the table includes a formula labeled as \"Ratio Three\" from 10 July 2023 18:23:12, where \(\text{TMQ}=18\). The table details the current formula and the elemental content of each ingredient. After activating the intelligent formula system, users can access the recommended formulas, as shown in Case 2 of Tables 4 and 5. It can be seen that H is the human formula from the previous time, A is the formula clustered by online AP, and I is the final formula after fine-tuning. It can be observed that the data in columns A, H, and I are all different. Comparing Table 5, it can be seen that the contents of \(C\) and \(Cl\) elements in H do not meet the production standards. The element content obtained through online AP clustering formula is shown in A. In Table 5, it can be found that the formula obtained through online AP clustering still does not meet the production standards, so it needs to be finely tuned. It can be found that the element content in column I meets the production standards. Therefore, the intelligent ingredient system will recommend using the fine-tuned formula.  
\begin{table}
\begin{tabular}{c c c c c c c c c} \hline \hline  & \multicolumn{6}{c}{**Case 1**} & \multicolumn{6}{c}{**Case 2**} \\ \cline{2-10}
**WN** & \multicolumn{3}{c}{**Scenario 1**} & \multicolumn{3}{c}{**Scenario 2**} & \multirow{3}{*}{**H**} & \multirow{3}{*}{**A**} & \multirow{3}{*}{**I**} \\ \cline{2-10}  & **H** & & & & & & & \\ \hline
1 & 5 & 5 & 5 & 5 & 5 & 5 & 5 & 5 \\
2 & 6 & 6 & 6 & 5 & 5 & 5 & 3 & 1.1 \\
3 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
4 & 0 & 0 & 0 & 0 & 0 & 25 & 25 & 26.3 \\
5 & 32 & 32 & 32 & 29 & 33 & 33 & 24 & 20 & 21 \\
6 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
7 & 31 & 31 & 31 & 28 & 15 & 15 & 0 & 0 \\
8 & 31 & 31 & 31 & 28 & 37 & 37 & 33 & 37 & 38 \\
10 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
11 & 100 & 100 & 100 & 100 & 100 & 100 & 100 & 100 \\
12 & 3.5 & 3.5 & 3.5 & 3.5 & 3.5 & 3.5 & 3 & 3 & 3 \\ \hline \hline \end{tabular}
\end{table}
Table 4: Formula comparison. WN represents warehouse number, H is the human formula, A is the formula clustered by online AP, and I is the final formula after fine-tuning.  
\begin{table}
\begin{tabular}{c c c c c c c} \hline \hline
**Warehouse** & **Ratio One** & **C** & **Cl** & **Zn** & **Fe** & **FeO** \\ \hline
1 & 5 & 8.1707 & 0.1783 & 3.2892 & 40.2301 & 32.2100 \\
2 & 6 & 84.4 & 0 & 0 & 0 & 0 \\
3 & 0 & 0 & 0 & 0 & 0 & 0 \\
4 & 0 & 5.8133 & 0.016 & 0.1338 & 63.9333 & 11.8774 \\
5 & 32 & 3.7800 & 0.2000 & 3.6903 & 45.1367 & 36.1384 \\
6 & 0 & 3.7800 & 0.2000 & 3.6903 & 45.1367 & 36.1384 \\
7 & 31 & 3.7800 & 0.2000 & 3.6903 & 45.1367 & 36.1384 \\
8 & 31 & 3.7800 & 0.2000 & 3.6903 & 45.1367 & 36.1384 \\
9 & 0 & 19.435 & 5.2200 & 3.7277 & 41.5333 & 3.7069 \\
10 & 0 & 3.4295 & 0.3200 & 14.1331 & 38.7285 & 13.3310 \\
11 & 100 & 8.1707 & 0.1783 & 3.2892 & 40.2301 & 32.2100 \\
12 & 3.5 & 0 & 0 & 0 & 0 & 0 \\ \hline \hline \end{tabular}
\end{table}
Table 3: At the previous moment, the formula became the cluster center (Case 1, Scenario 1).  
\begin{table}
\begin{tabular}{c c c c c c c c c} \hline \hline  & \multicolumn{6}{c}{**Case 1**} & \multicolumn{6}{c}{**Case 2**} \\ \cline{2-10}
**WN** & \multicolumn{3}{c}{**Scenario 1**} & \multicolumn{3}{c}{**Scenario 2**} & \multirow{3}{*}{**H**} & \multirow{3}{*}{**A**} & \multirow{3}{*}{**I**} \\ \cline{2-10}  & **H** & & & & & & & \\ \hline C & 8.0277 & 8.0277 & 8.0277 & 8.6278 & 8.7710 & 8.7710 & 10.6223 & 10.5120 & 9.7656 \\ Cl & 0.1751 & 0.1751 & 0.1751 & 0.4050 & 0.4510 & 0.4510 & 0.8423 & 0.8333 & 0.7820 \\ Zn & 3.2316 & 3.2316 & 3.2316 & 3.2377 & 3.2381 & 3.2381 & 2.6890 & 2.6604 & 2.6941 \\ C/O & 0.7528 & 0.7528 & 0.7528 & 0.8026 & 0.8148 & 0.8148 & 0.8549 & 0.8555 & 0.7872 \\ \hline \hline \end{tabular}
\end{table}
Table 5: Performance comparison. WN represents warehouse number, H is the human formula, A is the formula clustered by online AP, and I is the final formula after fine-tuning.