Abstract

Material characterization using laser-induced breakdown spectroscopy (LIBS) often relies on extensive data for effective analysis. However, data acquisition can be challenging, and the high dimensionality of raw spectral data combined with a large-scale sample dataset can strain computational resources. In this study, we propose a small sample size stacking model based on femtosecond LIBS to achieve accurate qualitative analysis of aluminum alloys. The proposed three-layer stacking algorithm performs data reconstruction and feature extraction to enhance the analysis. In the first layer, random forest spectral feature selection and specific spectral line spreading are employed to reconstruct the data. The second layer utilizes three heterogeneous classifiers to extract features from the reconstructed spectra in different feature spaces, generating second-level reconstructed data. Finally, the third layer utilizes the reconstructed dataset for qualitative prediction. Results indicate that the Stacking algorithm outperforms traditional methods such as k-nearest neighbors (KNN), support vector machine (SVM), and random forest (RF), including those combined with principal component analysis (PCA). The Stacking algorithm achieves an impressive 100% recognition rate in classification, with Accuracy, precision, recall, and F1 scores reaching 1.0. Moreover, as the number of samples decreases, the gap between the recognition accuracy of the Stacking algorithm and traditional approaches widens. For instance, using only 15 spectra for training, the Stacking algorithm achieves a recognition accuracy of 96.47%, significantly surpassing the improved RF's accuracy of 71.76%. Notably, the model demonstrates strong robustness compared to traditional modeling approaches, and the qualitative prediction error remains consistently below 5%. These findings underscore the model's enhanced generalization ability and higher prediction accuracy in small sample machine learning. This research contributes significantly to improving the applicability of the LIBS technique for fast detection and analysis of small samples. It provides valuable insights into the development of effective methodologies for material characterization, paving the way for advancements in the field.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call