3.3.1. Sensitivity Analysis of Copper Recovery
The Partial Rank Correlation Coefficient (PRCC) analysis revealed that NaClO
3 (PRCC = 0.834) and o assess the relative influence of process variables on copper recovery, both Morris and Partial Rank Correlation Coefficient (PRCC) analyses were conducted. The PRCC results indicated that NaClO (r = 0.81,
p < 0.001) and NaClO
3 (r = 0.83,
p < 0.001) were the most significant contributors to copper recovery, followed by reaction time (r = 0.66) and H
2SO
4 concentration (r = 0.47), while temperature and NaCl showed weaker but still positive correlations. Consistently, the Morris method identified temperature (μ* = 19.19, σ = 24.48), NaCl (μ* = 18.40, σ = 22.58), and NaClO
3 (μ* = 16.59, σ = 25.30) as dominant and highly nonlinear factors, confirming the strong and interactive effects of these parameters. Together, these analyses demonstrate that oxidizing agents (NaClO, NaClO
3) and temperature play the primary roles in enhancing copper dissolution, while acid concentration and leaching time exert secondary but consistent influences on recovery efficiency. The results are shown in
Table 10.
3.3.2. Predictive Modeling of Copper Recovery Using Gaussian Process Regression
To assess the predictive capability of different data-driven approaches, three regression models, Gaussian Process Regression (GPR), Support Vector Machine Regression (SVMR), and Ensemble Regression (ER), were trained and evaluated using five-fold cross-validation. The comparative results, presented in
Table 11, demonstrate that all models effectively captured the nonlinear dependencies between leaching parameters and copper recovery. Among them, the GPR model exhibited the highest predictive accuracy, achieving the lowest RMSE and the highest R
2 values.
The PRCC-informed GPR framework advances previous ML applications by incorporating experimentally derived variable importance into the kernel structure, allowing the model to capture nonlinear interactions among critical process parameters. This results in more interpretable and reliable predictions, extending the applicability of the model beyond the conditions directly tested experimentally. The GPR kernel function was selected and optimized using PRCC results to incorporate the relative influence of each variable, and hyperparameters were tuned via five-fold cross-validation.
The GPR model was implemented in MATLAB using the fitrgp function with an Automatic Relevance Determination (ARD) Matérn 5/2 kernel, which allows for anisotropic smoothness and variable-specific length scales. For each input vector
corresponds to one experimental leaching condition (
leaching time,
H
2SO
4 Concentration,
Temperature,
NaCl Concentration,
NaClO Concentration and
NaClO
3 Concentration) the kernel function is defined as
where
represents the characteristic length scale of the
-th input variable and
denotes the signal variance. The initial kernel hyperparameters were initialized as
, reflecting the priority ranking obtained from the sensitivity analysis presented in
Table 10, and the initial signal standard deviation was fixed at 1 prior to optimization. Hyperparameter optimization was carried out by maximizing the log-marginal likelihood using L-BFGS with exact inference.
To complement the five-fold cross-validation employed for hyperparameter tuning and model selection, an independent holdout validation strategy was additionally implemented to provide an unbiased estimate of final model’s generalization performance on unseen data. The full dataset of n observations was randomly partitioned using MATLAB’s (Statistical, Version 19) cvpartition function with a holdout fraction of 0.1, resulting in a non-stratified split that allocated approximately 90% of the observations to the training set and the remaining 10% to an independent test set. This random partition was performed once after completing the five-fold cross-validation-based optimization phase. The final optimized model—trained on the larger training portion—was then evaluated on the test set to assess predictive accuracy, uncertainty quantification, and generalization beyond the cross-validation folds. This combined approach aligns with common best practices in data-driven studies, particularly when dataset sizes are moderate and a reliable, low-variance estimate of real-world performance is required, while avoiding overly optimistic bias from evaluating on the same data used during tuning.
In addition to RMSE and R
2, model training efficiency and prediction confidence intervals were examined, confirming the robustness and generalization capability of the model. As illustrated in
Figure 1, the GPR predictions showed excellent agreement with experimental recovery values, closely following the ideal 1:1 line. Overall, the PRCC-informed GPR model provides a reliable and interpretable framework for predicting copper recovery under diverse leaching conditions.
To ensure reliable generalization, cross-validation was employed during training, which also helped mitigate potential overfitting associated with experimental variability. The PRCC-informed GPR model was subsequently applied to predict copper recovery across the entire experimental domain, producing smooth and physically consistent response surfaces that capture the complex nonlinear relationships governing the leaching process. This comprehensive model thus provides a reliable predictive tool for identifying optimal combinations of temperature and leaching duration to maximize copper recovery.
The PRCC-informed GPR models generated accurate prediction surfaces for copper recovery under different oxidizing chloride systems, as illustrated in the four 3D plots (
Figure 2,
Figure 3,
Figure 4 and
Figure 5). The x- and y-axes represent leaching time and chloride additive dosage, respectively, while the z-axis indicates the predicted copper recovery (%), with a color scale ranging from blue (minimum recovery) to red (maximum recovery).
In
Figure 2, the GPR surface shows a monotonic increase in recovery with leaching time, reflecting baseline dissolution behavior. In
Figure 3, the surface reveals a moderate enhancement in extraction at elevated NaCl levels, consistent with the limited oxidizing capacity of chloride alone.
Figure 4 demonstrates a pronounced improvement in recovery induced by hypochlorite, while
Figure 5 exhibits near-complete dissolution due to the strong oxidizing effect of chlorate. Taken together, these figures demonstrate that the PRCC-informed GPR model reliably captures the nonlinear leaching behavior under different oxidizing conditions and provides meaningful predictive insight into enhanced dissolution mechanisms.