基于粒子群优化随机森林算法的辉钼矿浮选精矿品位预测模型

A PSO−RF−Based Prediction Model for Molybdenite Flotation Concentrate Grade

  • 摘要: 矿物浮选精矿品位是评估浮选效果的关键技术指标之一,其精确测定备受业内关注。然而,现有的辉钼矿浮选精矿品位在线检测方法检测精度不高且实施成本昂贵。为此,提出了一种基于粒子群优化随机森林算法(PSO−RF)的辉钼矿浮选精矿品位预测模型。该模型通过结合粒子群优化(PSO)算法与随机森林(RF)算法,有效提升了模型预测精度和泛化能力。首先通过辉钼矿浮选实验,分析了不同浮选药剂用量和磨矿细度对精矿品位的影响,并以此构建了多输入输出的随机森林预测模型;然后应用粒子群优化算法对随机森林模型进行参数优化,显著提升了模型的预测精度,在验证集上,RMSE值为0.0369MAE值为0.0245R2值为0.9802。相比随机森林模型(RF),PSO−RF模型R2提升了1.83%,RMSE值和MAE值分别降低了19.43%和16.95%。最后通过实验对PSO−RF模型进行了验证,预测值与实际值的最大相对误差在4.28%以内,表现出较高的预测精度和良好的泛化能力。同时,该模型还具备实时检测能力以及较低的实施成本,在工业生产中具有广阔的应用潜力。

     

    Abstract: Mineral flotation concentrate grade is one of the crucial technical indicators for evaluating flotation efficiency, and its measurement accuracy plays a significant guiding role in optimizing production processes, adjusting operations, and controlling product quality. For many years, the accurate real−time measurement of flotation concentrate grade has been a key research focus within the mining industry. However, current online detection methods for molybdenite flotation concentrate grades generally exhibit notable shortcomings, such as inadequate measurement accuracy, high equipment costs, and complex maintenance procedures, severely limiting their widespread implementation in industrial production. Therefore, developing an online detection method characterized by high accuracy, low implementation cost, and ease of industrial deployment has significant practical importance. To overcome these limitations, this study proposed a molybdenite flotation concentrate grade prediction model based on a Particle Swarm Optimization–Random Forest (PSO−RF) algorithm. The objective of this study was to address the accuracy and cost issues inherent to existing detection approaches and to provide a more economical and efficient predictive tool suitable for industrial practice. The proposed PSO−RF model effectively combined the global optimization capability of the particle swarm optimization (PSO) algorithm and the superior ability of random forest (RF) models in handling complex data, significantly enhancing the model’s predictive accuracy and generalization performance. Initially, flotation experiments involving molybdenite were conducted to systematically investigate the influence of critical flotation parameters, including reagent dosage and grinding fineness, on the concentrate grade. Based on the experimental data obtained from these trials, a multi−input and multi−output random forest prediction model was constructed. Subsequently, considering that the prediction performance of random forest models is sensitive to hyperparameter selection (specifically, n_estimators, max_depth, and random_state), the particle swarm optimization algorithm was employed to globally optimize these critical hyperparameters. This optimization approach effectively overcame the limitations of traditional manual hyperparameter tuning, substantially improving model prediction performance and stability. In the model validation stage, the optimized PSO−RF model currently exhibits excellent predictive performance. Specifically, on the validation dataset, the PSO−RF model achieves a root mean square error (RMSE) of 0.0369, mean absolute error (MAE) of 0.0245, and a coefficient of determination (R²) of 0.980 2. Compared to the unoptimized random forest model, the proposed model improves the R² value by 1.83%, reduces the RMSE by 19.43%, and decreases the MAE by 16.95%. Furthermore, additional experimental validation confirms that the maximum relative error between predicted and actual measured concentrate grades is consistently below 4.28%, demonstrating high prediction accuracy and strong generalization capability. In conclusion, the PSO−RF prediction model proposed in this study effectively addresses the existing deficiencies of conventional online detection methods. This model not only realizes accurate real−time prediction of flotation concentrate grades but also features lower implementation costs and ease of industrial application. Consequently, the proposed PSO−RF model demonstrates substantial potential for practical application and economic value in industrial molybdenite flotation processes.

     

/

返回文章
返回