| Literature DB >> 30380626 |
Krzysztof Rzecki1, Tomasz Sośnicki2, Mateusz Baran3, Michał Niedźwiecki4, Małgorzata Król5, Tomasz Łojewski6, U Rajendra Acharya7,8,9, Özal Yildirim10, Paweł Pławiak11.
Abstract
Laser-induced breakdown spectroscopy (LIBS) is an important analysis technique with applications in many industrial branches and fields of scientific research. Nowadays, the advantages of LIBS are impaired by the main drawback in the interpretation of obtained spectra and identification of observed spectral lines. This procedure is highly time-consuming since it is essentially based on the comparison of lines present in the spectrum with the literature database. This paper proposes the use of various computational intelligence methods to develop a reliable and fast classification of quasi-destructively acquired LIBS spectra into a set of predefined classes. We focus on a specific problem of classification of paper-ink samples into 30 separate, predefined classes. For each of 30 classes (10 pens of each of 5 ink types combined with 10 sheets of 5 paper types plus empty pages), 100 LIBS spectra are collected. Four variants of preprocessing, seven classifiers (decision trees, random forest, k-nearest neighbor, support vector machine, probabilistic neural network, multi-layer perceptron, and generalized regression neural network), 5-fold stratified cross-validation, and a test on an independent set (for methods evaluation) scenarios are employed. Our developed system yielded an accuracy of 99.08%, obtained using the random forest classifier. Our results clearly demonstrates that machine learning methods can be used to identify the paper-ink samples based on LIBS reliably at a faster rate.Entities:
Keywords: LIBS; classification; computational intelligence methods; discrimination power; machine learning; paper-ink analysis
Year: 2018 PMID: 30380626 PMCID: PMC6263904 DOI: 10.3390/s18113670
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
List of papers and ballpoint pens examined in this study.
| Pens | Papers | |||||
|---|---|---|---|---|---|---|
| Company/Model | ID | A | D | L | N | O |
| Lack | – | A | D | L | N | O |
| Bic | B | A + B | D + B | L + B | N + B | O + B |
| Rystor | R | A + R | D + R | L+R | N + R | O + R |
| Staedtler/Stick | S | A + S | D + S | L + S | N + S | O + S |
| Staedtler/Ball | SB | A + SB | D + SB | L + SB | N + SB | O + SB |
| Toma | T | A + T | D + T | L + T | N + T | O + T |
Figure 1First spectrum of each class.
Spectral line identification.
| Paper Class | Identified Elements |
|---|---|
| A | Ca, Mg, Na, K |
| D | Ca, Na, K |
| L | Ca, Ti, Al, Si, Na, K |
| N | Ca, Ti, Si, Mg, Fe, Na, K |
| O | Ca, Al, Si, Mg, Na, K |
|
| |
| B | Cr, Cu, Zn, Pb, La |
| R | Cr, Cu, Zn, Pb, Ni, Mn |
| S | Cr, Cu, Zn |
| SB | Cr, Cu, Zn, Pb |
| T | Cr |
Figure 2Flow chart of the experiment.
Computational intelligence methods and their basic parameters used for LIBS spectra identification.
| No. | Method | Configuration |
|---|---|---|
|
| Decision Trees | Criterion: gini, splitter type: best, maximum depth: none |
|
| Random Forest | Criterion: gini, maximum depth: none |
|
| kNN | Distance metric: Minkowski |
|
| SVM | Type: nuSVC, type of kernel function: radial basis function |
|
| Neural Network | Type: PNN |
|
| Neural Network | Type: GRNN |
|
| Neural Network | Type: MLP |
Figure 3Visualization of data preprocessing for single sample spectrum from Class A. Figure (a) depicts an example of a raw spectrogram with marked truncation points, (b) shows normalized data.
Performance results for optimized parameters.
| Method | Parameters | ACC (%) | SEN (%) | SPE (%) | MEAN (%) | DP (%) | |
|---|---|---|---|---|---|---|---|
| Decision Trees | Max features = 6100 | 98.08 | 71.13 | 99.00 | 89.40 | 70.14 | 98.40 |
| Random Forest | N estimators = 700 | 99.08 | 86.27 | 99.53 | 94.96 | 85.79 | 99.08 |
| kNN | N = 1 | 96.72 | 50.87 | 98.31 | 81.97 | 49.17 | 96.72 |
| SVM | Nu = 0.17 | 98.84 | 82.53 | 99.40 | 93.59 | 81.93 | 98.85 |
| PNN | Spread = 0.2 | 96.84 | 52.60 | 98.37 | 82.60 | 50.97 | 97.80 |
| GRNN | Spread = 0.5 | 96.27 | 44.00 | 98.07 | 79.45 | 42.07 | 95.58 |
| MLP | N. of neurons = 120 | 98.22 | 73.27 | 99.08 | 90.19 | 72.34 | 98.36 |
Results of classification per class.
| Standardization Decision Tree | Standardization Random Forest | Standardization kNN | Normalization SVM | Normalization PNN | Standardization GRNN | Standardization MLP | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Class | ACC(%) | SPE(%) | SEN(%) | ACC(%) | SPE(%) | SEN(%) | ACC(%) | SPE(%) | SEN(%) | ACC(%) | SPE(%) | SEN(%) | ACC(%) | SPE(%) | SEN(%) | ACC(%) | SPE(%) | SEN(%) | ACC(%) | SPE(%) | SEN(%) |
| A | 99.20 | 99.45 | 92.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 99.40 | 99.38 | 100.00 | 99.73 | 99.72 | 100.00 | 99.93 | 99.93 | 100.00 |
| A + B | 98.60 | 99.45 | 74.00 | 99.33 | 100.00 | 80.00 | 97.53 | 98.97 | 56.00 | 99.27 | 99.86 | 82.00 | 97.40 | 99.17 | 46.00 | 98.53 | 99.59 | 68.00 | 98.60 | 99.59 | 70.00 |
| A + R | 97.93 | 99.24 | 60.00 | 99.40 | 99.72 | 90.00 | 97.87 | 99.66 | 46.00 | 99.33 | 100.00 | 80.00 | 97.40 | 99.38 | 40.00 | 98.27 | 99.45 | 64.00 | 97.87 | 98.83 | 70.00 |
| A + S | 96.60 | 97.93 | 58.00 | 99.40 | 99.72 | 90.00 | 96.80 | 97.86 | 66.00 | 99.33 | 99.72 | 88.00 | 96.47 | 98.69 | 32.00 | 97.27 | 98.07 | 74.00 | 96.87 | 97.86 | 68.00 |
| A + SB | 96.40 | 97.93 | 52.00 | 98.67 | 98.90 | 92.00 | 97.20 | 98.14 | 70.00 | 98.60 | 98.83 | 92.00 | 95.27 | 95.93 | 76.00 | 97.47 | 98.90 | 56.00 | 96.80 | 98.69 | 42.00 |
| A + T | 98.80 | 99.72 | 72.00 | 100.00 | 100.00 | 100.00 | 99.67 | 99.72 | 98.00 | 99.60 | 99.59 | 100.00 | 98.33 | 99.31 | 70.00 | 99.27 | 99.38 | 96.00 | 99.67 | 99.72 | 98.00 |
| D | 99.80 | 99.79 | 100.00 | 100.00 | 100.00 | 100.00 | 98.60 | 98.55 | 100.00 | 99.87 | 99.93 | 98.00 | 98.47 | 98.76 | 90.00 | 99.33 | 99.31 | 100.00 | 99.87 | 99.86 | 100.00 |
| D + B | 98.07 | 99.03 | 70.00 | 99.33 | 99.72 | 88.00 | 95.80 | 98.48 | 18.00 | 98.47 | 99.59 | 66.00 | 95.67 | 98.28 | 20.00 | 96.27 | 99.31 | 8.00 | 95.73 | 98.28 | 22.00 |
| D + R | 98.40 | 99.17 | 76.00 | 99.93 | 99.93 | 100.00 | 97.80 | 99.79 | 40.00 | 99.73 | 99.72 | 100.00 | 96.67 | 98.28 | 50.00 | 98.20 | 99.31 | 66.00 | 97.93 | 99.52 | 52.00 |
| D + S | 98.53 | 99.17 | 80.00 | 99.53 | 100.00 | 86.00 | 96.40 | 97.17 | 74.00 | 99.53 | 99.86 | 90.00 | 95.40 | 97.66 | 30.00 | 97.13 | 97.66 | 82.00 | 95.60 | 97.10 | 52.00 |
| D + SB | 96.67 | 98.21 | 52.00 | 98.80 | 99.59 | 76.00 | 96.07 | 98.14 | 36.00 | 97.73 | 98.76 | 68.00 | 94.60 | 97.31 | 16.00 | 97.40 | 98.55 | 64.00 | 95.73 | 97.86 | 34.00 |
| D + T | 99.13 | 99.59 | 86.00 | 99.07 | 99.03 | 100.00 | 98.40 | 99.10 | 78.00 | 99.20 | 99.31 | 96.00 | 97.20 | 98.34 | 64.00 | 98.33 | 98.97 | 80.00 | 99.00 | 99.10 | 96.00 |
| L | 99.40 | 99.45 | 98.00 | 99.53 | 99.52 | 100.00 | 96.27 | 96.14 | 100.00 | 100.00 | 100.00 | 100.00 | 98.80 | 98.76 | 100.00 | 94.67 | 94.48 | 100.00 | 100.00 | 100.00 | 100.00 |
| L + B | 98.07 | 99.24 | 64.00 | 99.87 | 99.93 | 98.00 | 96.47 | 99.38 | 12.00 | 99.27 | 99.59 | 90.00 | 95.87 | 97.59 | 46.00 | 96.33 | 99.59 | 2.00 | 98.47 | 99.59 | 66.00 |
| L + R | 97.73 | 99.45 | 48.00 | 98.47 | 99.93 | 56.00 | 96.80 | 99.45 | 20.00 | 98.20 | 99.24 | 68.00 | 96.87 | 98.90 | 38.00 | 96.33 | 99.59 | 2.00 | 97.93 | 99.72 | 46.00 |
| L + S | 96.00 | 98.07 | 36.00 | 97.20 | 99.17 | 40.00 | 96.00 | 98.97 | 10.00 | 97.47 | 99.59 | 36.00 | 95.80 | 98.48 | 18.00 | 96.47 | 99.45 | 10.00 | 96.73 | 98.07 | 58.00 |
| L + SB | 95.67 | 96.55 | 70.00 | 96.67 | 97.10 | 84.00 | 91.53 | 93.45 | 36.00 | 97.00 | 97.52 | 82.00 | 94.87 | 96.34 | 52.00 | 91.20 | 92.97 | 40.00 | 97.27 | 97.66 | 86.00 |
| L + T | 98.07 | 99.45 | 58.00 | 99.20 | 99.66 | 86.00 | 96.00 | 98.69 | 18.00 | 99.53 | 99.66 | 96.00 | 97.93 | 99.66 | 48.00 | 95.27 | 98.55 | 0.00 | 99.60 | 99.79 | 94.00 |
| N | 99.87 | 99.93 | 98.00 | 100.00 | 100.00 | 100.00 | 99.07 | 99.03 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 98.33 | 98.28 | 100.00 | 100.00 | 100.00 | 100.00 |
| N + B | 98.33 | 99.66 | 60.00 | 98.73 | 99.59 | 74.00 | 96.93 | 99.24 | 30.00 | 99.67 | 100.00 | 90.00 | 97.47 | 98.62 | 64.00 | 95.67 | 98.90 | 2.00 | 98.80 | 99.66 | 74.00 |
| N + R | 98.40 | 99.59 | 64.00 | 99.53 | 100.00 | 86.00 | 95.67 | 98.97 | 0.00 | 97.67 | 99.45 | 46.00 | 95.33 | 97.86 | 22.00 | 95.60 | 98.90 | 0.00 | 98.13 | 99.59 | 56.00 |
| N + S | 97.60 | 98.55 | 70.00 | 99.27 | 99.93 | 80.00 | 97.60 | 99.52 | 42.00 | 98.13 | 99.45 | 60.00 | 95.80 | 98.34 | 22.00 | 96.87 | 99.72 | 14.00 | 98.47 | 99.17 | 78.00 |
| N + SB | 96.33 | 97.59 | 60.00 | 97.33 | 98.00 | 78.00 | 92.47 | 93.93 | 50.00 | 96.53 | 96.97 | 84.00 | 94.47 | 96.76 | 28.00 | 88.53 | 90.14 | 42.00 | 96.73 | 97.52 | 74.00 |
| N + T | 99.33 | 99.45 | 96.00 | 99.67 | 99.66 | 100.00 | 99.07 | 99.38 | 90.00 | 100.00 | 100.00 | 100.00 | 99.07 | 99.17 | 96.00 | 96.60 | 99.38 | 16.00 | 100.00 | 100.00 | 100.00 |
| O | 99.20 | 99.31 | 96.00 | 100.00 | 100.00 | 100.00 | 99.93 | 99.93 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 99.87 | 99.86 | 100.00 | 100.00 | 100.00 | 100.00 |
| O + B | 96.73 | 98.90 | 34.00 | 97.53 | 99.93 | 28.00 | 96.60 | 99.93 | 0.00 | 98.00 | 99.86 | 44.00 | 97.20 | 99.38 | 34.00 | 96.33 | 99.66 | 0.00 | 97.80 | 100.00 | 34.00 |
| O + R | 99.47 | 99.86 | 88.00 | 99.67 | 100.00 | 90.00 | 96.60 | 99.93 | 0.00 | 98.93 | 99.86 | 72.00 | 96.53 | 98.90 | 28.00 | 96.27 | 99.59 | 0.00 | 99.00 | 100.00 | 70.00 |
| O + S | 98.73 | 99.45 | 78.00 | 99.47 | 99.86 | 88.00 | 96.27 | 99.45 | 4.00 | 98.07 | 99.24 | 64.00 | 95.27 | 98.00 | 16.00 | 96.33 | 99.66 | 0.00 | 98.20 | 98.83 | 80.00 |
| O + SB | 95.87 | 97.31 | 54.00 | 96.93 | 96.90 | 98.00 | 87.93 | 89.45 | 44.00 | 96.00 | 96.41 | 84.00 | 92.87 | 94.90 | 34.00 | 84.67 | 86.55 | 30.00 | 96.13 | 96.76 | 78.00 |
| O + T | 99.33 | 99.66 | 90.00 | 100.00 | 100.00 | 100.00 | 98.40 | 98.76 | 88.00 | 99.93 | 99.93 | 100.00 | 98.80 | 98.83 | 98.00 | 95.47 | 98.62 | 4.00 | 99.67 | 99.66 | 100.00 |
| Mean | 98.08 | 99.00 | 71.13 | 99.08 | 99.53 | 86.27 | 96.72 | 98.31 | 50.87 | 98.84 | 99.40 | 82.53 | 96.84 | 98.37 | 52.60 | 96.27 | 98.07 | 44.00 | 98.22 | 99.08 | 73.27 |
| Kappa | 70.14 | 85.79 | 49.17 | 81.93 | 50.97 | 42.07 | 72.34 | ||||||||||||||
| DP | 98.40 | 99.08 | 96.72 | 98.85 | 97.80 | 95.58 | 98.36 | ||||||||||||||