Next Article in Journal
Alternate Ultrasound/Microwave Digestion for Deep Eutectic Hydro-distillation Extraction of Essential Oil and Polysaccharide from Schisandra chinensis (Turcz.) Baill
Next Article in Special Issue
Distinct Difference in Sensitivity of NIR vs. IR Bands of Melamine to Inter-Molecular Interactions with Impact on Analytical Spectroscopy Explained by Anharmonic Quantum Mechanical Study
Previous Article in Journal
Investigating Stability and Tautomerization of Gossypol—A Spectroscopy Study
Previous Article in Special Issue
Predicting Ewing Sarcoma Treatment Outcome Using Infrared Spectroscopy and Machine Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

PLS Subspace-Based Calibration Transfer for Near-Infrared Spectroscopy Quantitative Analysis

1
School of Computer Science and Engineering, Northeastern University, Shenyang 110819, China
2
College of Information Science and Engineering, Northeastern University, Shenyang 110819, China
*
Author to whom correspondence should be addressed.
Molecules 2019, 24(7), 1289; https://doi.org/10.3390/molecules24071289
Submission received: 15 March 2019 / Revised: 27 March 2019 / Accepted: 28 March 2019 / Published: 2 April 2019

Abstract

:
In order to enable the calibration model to be effectively transferred among multiple instruments and correct the differences between the spectra measured by different instruments, a new feature transfer model based on partial least squares regression (PLS) subspace (PLSCT) is proposed in this paper. Firstly, the PLS model of the master instrument is built, meanwhile a PLS subspace is constructed by the feature vectors. Then the master spectra and the slave spectra are projected into the PLS subspace, and the features of the spectra are also extracted at the same time. In the subspace, the pseudo predicted feature of the slave spectra is transferred by the ordinary least squares method so that it matches the predicted feature of the master spectra. Finally, a feature transfer relationship model is constructed through the feature transfer of the PLS subspace. This PLS-based subspace transfer provides an efficient method for performing calibration transfer with only a small number of standard samples. The performance of the PLSCT was compared and assessed with slope and bias correction (SBC), piecewise direct standardization (PDS), calibration transfer method based on canonical correlation analysis (CCACT), generalized least squares (GLSW), multiplicative signal correction (MSC) methods in three real datasets, statistically tested by the Wilcoxon signed rank test. The obtained experimental results indicate that PLSCT method based on the PLS subspace is more stable and can acquire more accurate prediction results.

1. Introduction

In the past few decades, near-infrared spectroscopy (NIR) has been widely used in various fields, because of its fast speed and the fact that it does not cause damage to sample characteristics. These areas include pharmaceutical [1,2,3], biomedical [4], petrochemical [5], agricultural [6,7], food [8,9,10]. In the NIR analysis, the most frequently used multivariate calibration techniques are partial least squares regression (PLS) [11,12] and principal component regression (PCR) [13,14]. However, the established calibration model is often outdated or unsuitable for new samples due to factors of the diversity of measuring instruments and measuring environments, as well as the variability of the materials being measured. New samples refer to any samples not included in the calibration model, such as those samples collected at different times or with different instruments. Frequent calibration is not desirable because a large amount of time and resources are devoted to establishing calibration models. One advisable option would be to carry out the calibration transfer.
Numerous relevant calibration transfer methods have been proposed in articles. In general, these methods can be divided into two types: transfer standard and non-standard. The transfer standard requires the same standard samples to be measured on the master instrument and the slave instrument. In this type of method, according to the stages in which the adjustment occurs are further divided into four types.
The first type is the method of correcting the slave spectra. In the standard samples, the slave spectra are made as close as possible to the corresponding master spectra by a transfer matrix. The most widely used are direct standardization (DS) and piecewise direct standardization (PDS) methods [15,16]. In the PDS method, the transfer relationship between the master spectra and the slave spectra from the sliding window is established at each wavelength of the master spectra, and finally a band-shaped transfer matrix is formed for correcting the slave spectra.
The second type is the method of simultaneously correcting the master spectra and the slave spectra. Commonly used is calibration transfer by the generalized least squares (GLSW) method [17,18]. GLSW uses the difference between the standard set of the master instrument and the slave instrument to build the weight matrix, and then uses the weight matrix to reduce the weight of spectral feature to be suppressed. A detailed description of the weight matrix is provided in [17] and [18].
The third type is the method of correcting the predicted values. Mainly the slope and bias correction (SBC) method [19], this method considers that there is a linear relationship between the predicted values of the slave spectra obtained by the master spectral model and the response variable, usually using ordinary least squares method to calculate this relationship. The predicted values are then corrected using this relationship.
The fourth type is the projection method. For example, calibration transfer method based on canonical correlation analysis (CCACT) [20], which uses CCA to find the set of canonical variables that are maximally correlated between the standard set of the master instrument and the slave instruments. Further explore the transfer relationship between the two canonical variables.
In practical applications, it is difficult or even impossible to measure the same samples on two instruments due to the position of the measuring instrument and the stability of the samples, etc. At this time, it is necessary to use a method that does not require measurement of the same standard samples, that is, a non-standard method. These methods are mainly divided into two types.
One is the signal preprocessing method, which removes the baseline offset and the linearly sloped baselines by simple mathematical operations of the first derivative and the second derivative. Common methods include multiplicative signal correction (MSC) [21], finite impulse response (FIR) filtering [22], generalized moving window MSC (W-MSC) [21], OSC [23,24], etc., wherein FIR and MW-MSC are variants of MSC. However, it must be noted that these simple preprocessing methods do not handle complex changes between the master spectra and the slave spectra.
The other is the projection method. It includes transfer component analysis (TCA) [25] and kernel principal component analysis (KPCA) [26]. TCA projects the master spectra and the slave spectra into a common feature space in which the distribution of the master spectra and the slave spectra are as similar as possible while retaining the key properties of the spectra. TCA and KPCA use different kernels, so they can cope with nonlinear and more complex changes in the spectra.
In this paper, a novel projection method is proposed, which is a feature transfer model based on PLS subspace (PLSCT). PLSCT establishes the PLS model of the calibration set of the master instrument firstly, constructing a low-dimensional PLS subspace, which is a feature space constructed by the spectral feature vectors. The PLS model is then used to extract the predicted features of the master spectra and the pseudo predicted features of the slave spectra, that is, to project all spectra of the master instrument and slave instrument into this PLS subspace. Then, the ordinary least squares method is used to explore the relationship between the two features in the identical PLS subspace, the relationship will then be resorted to construct a feature transfer relationship model.
Notice that the pseudo predicted feature of the slave spectra is acquired by the PLS model established by the master instrument rather than the PLS model of the slave instrument. And PLSCT does not need the response variable corresponding to the standard set. In addition, compared with PDS, PLSCT corrects the feature of the spectra rather than the spectra. In contrast to CCACT, PLSCT uses PLS to find the covariance between the spectra and the response variable, instead of using CCA to find the correlation between the master spectra and the slave spectra.
In order to validate the performance of the PLSCT model, we not only compare its prediction results against those of the SBC, PDS, CCACT, GLSW, and MSC methods, but also apply the Wilcoxon signed rank test [27] to determine whether PLSCT is statistically significantly superior to other models. The experiment was conducted in three real near-infrared datasets. By analyzing all the experimental results, we conclude that the PLSCT can significantly reduce the prediction error.

2. Results and Discussion

2.1. The Analysis of the Corn Dataset

First of all, Table 1 lists the latent variables (LVs) and the root mean square error of prediction (RMSEP) of Calibration, Direct transfer and Recalibration. The RMSEP was 0.010156 when using the calibration model of the master instrument to predict the spectra of the test set measured on the master instrument. However, when directly using the calibration model of the master instrument to predict the spectra of the test set measured on the slave instrument, the RMSEP was 1.41931, which indicates that if the model of the master instrument is directly applied to the slave instrument, a large prediction error will be generated.
The number of the factors for constructing the pseudo predicted feature matrix from the standard set of the slave spectra ( T ˜ std s _ m ) and the predicted feature matrix from the standard set of the master spectra ( T ^ std m ), which is a key parameter in the PLSCT model, was determined by leave-one-out cross-validation. Figure 1A,B illustrates the effects of selecting the number of factors used to build T ˜ std s _ m and T ^ std m on the cross-validation error when the number of the samples in the standard set is set to 25 and 30. From the results in Figure 1A,B, inferring that when the number of the samples in the standard set is set to 25 and 30, the number of factors should be set to 3. At this time, the root mean square error of cross-validation (RMSECV) reached the minimum and PLSCT achieves the best performance.
In addition, the measured values of the moisture content of the corn dataset obtained from different models are compared with the predicted values when the number of the samples in the standard set is set to 30 are shown in Figure 2. In this case, the slope of the line was equal to 1. A point on the line indicates that the predicted value was equal to the measured value. As shown in Figure 2, PLSCT exhibited the smallest differences between the measured values and predicted values. This is attributed to the implementation of the feature transfer in the PLS subspace. The detailed description is shown in Figure 3.
For comparison, the differences between the feature before and after transfer in the PLS subspace, the relationship between the first pseudo predicted feature of the slave instrument and the first predicted feature of the master instrument is displayed in Figure 3. In these two plots, the blue dots represent the feature before transfer, and the red dots represent the feature after transfer. The closer the dots are to a straight line, the smaller the differences between the pseudo predicted feature of the slave instrument and the predicted feature of the master instrument. Figure 3A,B depicts the differences between features in the standard set and the test set, respectively. Obviously, after transfer, the differences between the first pseudo predicted feature of the slave instrument and the first predicted feature of the master instrument was significantly reduced, not only in the standard set, but also in the test set.
In order to evaluate the effect of the number of the samples in the standard set on different calibration methods, 5, 10, 15, 20, 25, and 30, standard samples were considered in the experiment. As can be seen from Table A1 in the Appendix A, the RMSEP of MSC was relatively large, and the predictability of CCACT and GLSW were better than that of PDS, SBC and MSC. From 5 samples to 30 samples, the RMSEP of PLSCT was smaller than the RMSEP of PDS, SBC, CCACT, GLSW and MSC. Moreover, the RMSEP of PLSCT had been gradually stabilized when the number of the samples in the standard set from 20 to 30. So, we conclude that PLSCT had significantly better predictive performance than other models.
To further compare PLSCT with other models, the RMSEP improvement and p-value by Wilcoxon signed rank test are listed in Table A2 in the Appendix A. The RMSEP improvement of PLSCT to PDS(3), PDS(5), PDS(7), SBC, CCACT, GLSW, MSC, Recalibration2 and Recalibration were as high as 35.00575%, 34.99841%, 34.98937%, 41.95097%, 37.18537%, 30.21822%, 85.7502%, 8.610493% and 2.26298%, respectively. The Wilcoxon signed rank test shows statistically significant differences between PLSCT and other models (include Recalibration) at the 95% confidence level.

2.2. The Analysis of the Wheat Dataset

In Table 1, we can note that when no calibration transfer method was used, the difference between the RMSEP of directly using Calibration and the RMSEP of Recalibration was much smaller than the difference in corn dataset, in part because the difference between the two instruments in wheat dataset was relatively small.
Figure 4 displays the comparison of the measured values and the predicted values from different models. From these plots, it is worth noting that the differences between measured values and predicted values in PLSCT were only slightly larger than Recalibration and smaller than any other methods.
Since the spectra difference between the master instrument and the slave instrument was small in the wheat dataset, the effect of feature transfer was not obvious in the PLS subspace from Figure 5. However, the difference between the first pseudo predicted feature after transfer and the first predicted feature is still slightly smaller. The number of samples of the standard set in Figure 5A was 30.
The performances of the different methods on wheat samples are also shown in Appendix A Table A1. The Table A2 shows clearly that PLSCT has much lower prediction error than PDS, SBC, GLSW and MSC when the number of the samples in the standard set is 10, 25 and 30. When the number of the samples in the standard set was 30, the minimum RMSEP obtained by PLSCT was 0.6604. The RMSEP of Recalibration2 fluctuated greatly, probably because there were outliers in the standard set of the slave instrument. These outliers also affect the performance of the SBC as shown in Figure 4D.
The results by Wilcoxon signed rank test reveal that PLSCT is significantly different from PDS(3), PDS(5), PDS(7), SBC, CCACT, GLSW, MSC and Recalibration2 at 95% confidence level. The RMSEP improvement resulting from PLSCT compared with these models were 51.77389%, 54.35396%, 57.02112%, 87.45319%, 42.18862%, 61.34526%, 56.43832% and 69.98222%, respectively (shown in Appendix A Table A2).

2.3. The Analysis of the Pharmaceutical Tablet Dataset

As in the previous cases, the LVs and RMSEP of Calibration, Direct transfer and Recalibration are shown in Table 1. The RMSEP of Calibration is 3.123115, the RMSEP of direct transfer is 4.514284, the RMSEP of Recalibration was 3.31598.
In the PLSCT model, the number of factors for constructing T ˜ std s _ m and T ^ std m was 4 when the number of the samples in the standard set was set to 25 and 30, as shown in Figure 1C,D. When the number of the samples in the standard set was set to 30, the comparison between the predicted values and measured values is shown in Figure 6. The results show that PLSCT has achieved the best performance.
Figure 7 displays the comparison of the first pseudo predicted feature of the slave instrument standard set and test set before and after transfer in the PLS subspace, where the number of samples of the standard set in Figure 7A was 30. From the two plots in Figure 7, the first pseudo predicted feature after transfer was significantly closer to the predicted feature of the master instrument, whether in the standard set or in the test set of the slave instrument.
From Appendix A Table A1, as the number of the samples in the standard set increases, the performance of PLSCT gradually got better. The RMSEP of PLSCT gradually became stable when the number of samples in the standard set was 25 and 30, which were outperformed than PDS, SBC, CCACT, GLSW and MSC significantly. From the results in Table A2, when the number of the samples in the standard set was greater than 20, the RMSEP of PLSCT was already less than that of Recalibration.
Compared with other models, the RMSEP improvement of PLSCT over them can reach up 16.3743%, 15.12146%, 14.35178%, 40.04516%, 16.81376%, 41.83697%, 24.21448%, 23.82937% and 2.908651%, respectively. Furthermore, the differences between PLSCT and other models are all statistically significant at the 95% confidence level (shown in Appendix A Table A2).

3. Materials and Methods

3.1. Dataset Description

3.1.1. Corn Dataset

The first dataset was corn dataset. We can conveniently access to obtain it at http://www.eigenvector.com/data/Corn/. The dataset is composed of 80 corn samples. Three near-infrared spectrometers were used to measure these samples, with wavelength range from 1100 nm to 2498 nm at 2 nm intervals (700 channels). The property of moisture, oil, protein and starch of corn is contained in the dataset. In this paper, the moisture content was chosen as the property of interest. We choose M5 as ‘master instrument’, MP5 as ‘slave instrument’. The difference between the spectra measured on M5 instrument and MP6 instrument can be observed in Figure 8A.

3.1.2. Wheat Dataset

The second dataset was the wheat dataset, which consisted of 248 samples measured by three instruments of manufacturer A. This dataset was the shootout data of the International Diffuse Reflectance Conference (IDRC) in 2016. We can obtain it from http://www.idrc-chambersburg.org/content.aspx?page_id=22&club_id=409746&module_id=191116. The wavelength range of the manufacturer A was 730 nm–1100 nm and the interval was 0.5 nm. The dataset only provides the reference protein values. In this paper, we take the first instrument of manufacturer A as ‘master instrument’ and the second instrument as ‘slave instrument’. Figure 8B shows the difference between the spectra measured on the A1 and A2 instruments.

3.1.3. Pharmaceutical Tablet Dataset

The third dataset came from the IDRC shootout 2002, which contains 655 pharmaceutical tablets measured on two spectrometers, with the range from 600 to 1898 nm, and the interval was 2 nm. We can obtain it from http://www.eigenvector.com/data/tablets/index.html. There are three reference values associated with this dataset, but we were only interested in weight content for each sample. The difference between the spectra in the pharmaceutical tablet dataset is shown in Figure 8C.

3.2. Dataset Division

We adopt the Kennard and Stone algorithm [28] to split the dataset. Firstly, the entire samples were split into the calibration set and the test set. The test set accounted for 20% of the total samples, and the remaining 80% was used as the calibration set. The corn dataset was divided into 64 samples for calibration set and 16 samples for the test set. The wheat dataset was divided into 198 samples for calibration set and 50 samples for the test set. For the pharmaceutical tablets dataset, we first integrated the three parts that have been divided, and then divided it into 524 samples for calibration sets and 131 samples for test sets. The standard samples were selected from the calibration set via the Kennard and Stone algorithm.
It must be noted that the Kennard and Stone algorithm was applied to the master spectra when splitting the calibration set and test set, while the Kennard and Stone algorithm was applied to the slave spectra when extracting the standard samples.

3.3. Determination of the Optimal Parameters

The number of latent variables used in the PLS model was selected by a 10-fold cross-validation. In order to avoid over-fitting caused by the inclusion of redundant latent variables, the optimal number of latent variables was achieved based on the statistical F-test [29] (α = 0.05).
The predicted feature from the standard set of slave instrument is a pseudo predicted feature T ˜ std s _ m constructed by the PLS model of the master instrument. Compared with the predicted feature T ˜ std s constructed by the PLS model of the slave instrument, the T ˜ std s _ m may contain some noise, which has a great influence on the solution of the transfer matrix ξ , further affecting the performance of the PLSCT model. In order to optimize the model, we used leave-one-out cross-validation to select the best number of factors in the standard set based on the minimum root mean square error of cross-validation (RMSECV) criterion. The response variable of the standard set used in cross-validation was the predicted value of the master instrument standard set obtained by the PLS model of the master instrument.
For the PDS method, its window sizes were set to 3, 5, and 7, respectively.

3.4. Model Performance Evaluation

In order to verify the prediction performance of different calibration models, we calculated the root mean square error of prediction (RMSEP). The calculation of RMSEP is as follows:
RMSEP = i = 1 n ( y i y ^ i ) 2 n
where y i represents the measured value associated to the i -th test sample, y ^ i is its final predicted value, while n is the number of samples in the test set.
In order to compare the prediction performance difference between the proposed model and other models more directly, Equation (2) was used to calculate the RMSEP improvement of the PLSCT method compared with other methods:
h = ( 1 RMSEP PLSCT RMSEP other ) × 100 %
where RMSEP PLSCT represents the prediction error of the PLSCT method, RMSEP other represents the prediction error of other comparison methods.
In addition, by comparing prediction error of the different models, the Wilcoxon signed rank test at the 95% confidence level was utilized to point out whether there was a significant difference between PLSCT and other methods. In python, we used the wilcoxon function in the scipy package to directly calculate the p-value between the two prediction errors. If p > 0.05, there is no significant difference between the two methods. Otherwise, there is significant difference.

3.5. Calibration Transfer Method

3.5.1. Notation

In this paper, we define the spectral matrix as X , n × p represents the size of the matrix, n represents the number of samples, p represents the number of variables, and x i represents the spectral variables corresponding to the i -th sample of the matrix. The response variables are defined as y and the predicted values are defined as y ^ . In order to distinguish the spectra collected on the two instruments, we added a superscript to the back of the matrix, such as defining the spectra from the master instrument as X m , defining the spectra from the slave instrument as X s , the predicted feature matrix of the master spectra obtained by the master instrument calibration model is T ^ m , the pseudo predicted feature matrix of the slave spectra obtained by the master instrument calibration model is T ˜ s _ m . At the same time, a subscript was added to the back of the matrix to distinguish different data sets. For instance, X cal m , X std m , and X test m represent the calibration set, standard set and test set of the master instrument, respectively. X cal s , X std s , and X test s represent the calibration set, standard set and test set of the slave instrument, respectively.

3.5.2. Overview of PLS

PLS is a widely used multivariate calibration technique. PLS applies score vectors model the relationship between X and y . It projects X and y into a PLS subspace, a low-dimensional space defined by a small number of the score vectors. The mean-centered X and y are decomposed as follows:
{ X = T P T + E y = T q T + F
where T is the score matrix, P and q represent loadings matrix for X and y , respectively. E and F are the matrices of residuals corresponding to X and y .
The matrix of regression coefficients is:
β = W ( P T W ) 1 q T
where W is the weight matrix.
With the regression coefficient matrix β , we can have the predicted values:
y ^ = X β

3.5.3. Proposed PLSCT method

In the PLSCT, the PLS model was built on the calibration set of the master instrument to construct the PLS subspace, which is also the feature space constructed by the feature vectors of the spectra of the master instrument calibration set. The number of latent variables (LVs) in the PLS model is determined by cross-validation.
β m = W m ( ( P m ) T W m ) 1 ( q m ) T
On the basis of this PLS model, the predicted feature matrix of standard set in the master instrument X std m can be calculated via it, that is, the spectra of the master instrument can be projected into the PLS subspace:
T ^ std m = X std m W m ( ( P m ) T W m ) 1
Similarly, the pseudo predicted feature matrix of standard set in the slave instrument X std s can be calculated via this PLS model as well as X std m , in other words, the spectra of the slave instrument can be projected into this PLS subspace:
T ˜ std s _ m = X std s W m ( ( P m ) T W m ) 1
The two predicted feature matrices obtained are derived from the same PLS model of the master instrument, that is to say, all spectra are projected into the identical PLS subspace constructed by the master instrument. In the identical PLS subspace, there should be a linear relationship between the two feature matrices. So T ˜ std s _ m and T ^ std m can be built as:
T ˜ std s _ m ξ = T ^ std m
The linear relationship between the two feature matrices can be solved through the ordinary least squares method, by the following equation:
ξ = ( ( T ˜ std s _ m ) T T ˜ std s _ m ) 1 ( T ˜ std s _ m ) T T ^ std m
Once ξ is computed, for the test set from the slave instrument X test s , applying Equation (11) to calculate the predicted values corresponding to the spectra:
y ^ test = X test s W m ( ( P m ) T W m ) 1 ξ ( q m ) T

4. Conclusions

In this paper, an ingenious calibration transfer method based on PLS subspace is proposed. PLSCT uses the same PLS model to project the spectra into the identical PLS subspace. In the identical subspace, a feature transfer model is constructed by narrowing the differences between the predicted feature of master instrument and the pseudo predicted feature of the slave instrument via an ordinary least squares method. Additional, PLSCT does not need the response variable corresponding to the standard set. As expected, experimental results on three real datasets show that compared with PDS, SBC, CCACT, GLSW, and MSC, the PLSCT model is more stable and can obtain more accurate prediction results. The reason why the PLSCT model can achieve such remarkable results is that while the spectra of the slave instrument are projected into this subspace, some noise effects such as scattering that are unrelated to the response variable will be removed from the spectra, and then the feature transfer in the identical PLS subspace can more accurately narrow the differences between the predicted feature of master instrument and the pseudo predicted feature of slave instrument.

Author Contributions

Conceptualization, P.S. and Y.Z.; methodology, P.S. and Y.Z.; software, J.Y.; validation, J.Y.; formal analysis, P.S., Y.Z., J.Y. and Z.Z.; data curation S.G.; writing—original draft preparation, J.Y.; writing—review and editing, J.Y., P.S. and X.J.; visualization, J.Y.; supervision, P.S. and Y.Z.; project administration, J.Y.; funding acquisition, Y.Z.

Funding

This research was funded by National Natural Science Foundation of China, grant number 61601104; Natural Science Foundation of Hebei Province, grant number F2017501052 and the Basic Science Research Fund of Northeast University at Qin Huang Dao, grant number XNB201611.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. RMSEP for three datasets using different transfer methods.
Table A1. RMSEP for three datasets using different transfer methods.
PDSSBCCCACTGLSWMSCPLSCTRecalibration2 2Recalibration 3
W 1 = 3W 1 = 5W 1 = 7
Corn dataset
N = 50.41420.43360.43540.53700.24110.40561.43020.19910.35380.2085
N = 100.37530.36170.37290.44400.25450.36961.43020.19800.2237
N = 150.35070.34950.33570.43070.36630.35351.43020.21270.2425
N = 200.34400.34400.34400.39000.28410.32081.43020.20870.2379
N = 250.33730.33720.33660.37200.35280.31061.43020.20820.2314
N = 300.31360.31350.31350.35110.32450.29211.43020.20380.2230
Wheat dataset
N = 58.24349.15878.422614.37311.62484.08351.51601.84782.71760.5308
N = 108.58449.353410.892710.53101.24963.58241.51600.85882.2233
N = 152.13732.85133.20128.71591.53152.92051.51601.82801.3985
N = 201.95862.09272.23807.04820.96882.47431.51601.82630.4520
N = 251.56561.64801.74456.19451.04371.98041.51600.68502.3661
N = 301.36941.44681.53665.26350.77351.70851.51600.66042.2000
Pharmaceutical tablet dataset
N = 54.79714.28994.45945.99834.13026.59884.24823.32025.80273.3160
N = 104.14314.00984.04445.47204.11125.67214.24823.58215.5904
N = 153.96983.83143.83475.70693.93576.22844.24823.38345.8043
N = 203.97873.87893.91905.28383.89795.65114.24823.27945.0811
N = 253.92633.84163.77895.25144.05495.48094.24823.27654.9428
N = 303.84993.79313.75905.36993.87035.53544.24823.21954.2267
1 w stands for window size of PDS method; 2 Recalibration2: the calibration model of the standard set of the slave instrument; 3 Recalibration: the calibration model of the calibration set of the slave instrument.
Table A2. RMSEP comparison of PLSCT and other methods, RMSEP improvement and p-values by the Wilcoxon signed rank test (α = 0.05) (the number of samples in the standard set is 30).
Table A2. RMSEP comparison of PLSCT and other methods, RMSEP improvement and p-values by the Wilcoxon signed rank test (α = 0.05) (the number of samples in the standard set is 30).
PLSCT
CornWheatPharmaceutical Tablet
PDS(3) 1h (%) 235.0057551.7738916.3743
p30.007173.17 × 10 9 3.2 × 10 19
PDS(5) 1h (%)34.9984154.3539615.12146
p0.007172.23 × 10 9 1.78 × 10 19
PDS(7) 1h (%)34.9893757.0211214.35178
p0.007172.23 × 10 9 1.2 × 10 18
SBCh (%)41.9509787.4531940.04516
p0.0112867.56 × 10 10 4.84 × 10 23
CCACTh (%)37.1853742.1886216.81376
p0.0044550.0011614.37 × 10 21
GLSWh (%)30.2182261.3452641.83697
p0.007178.53 × 10 10 6.82 × 10 23
MSCh (%)85.750256.4383224.21448
p0.0005311.57 × 10 6 1.51 × 10 18
Recalibration2h (%)8.61049369.9822223.82937
p0.0173780.0002313.05 × 10 23
Recalibrationh (%)2.26298−24.41642.908651
p0.8767229.06 × 10 5 0.000198
1 The number in brackets stands for window size of PDS method; 2 h: the RMSEP improvement; 3 p: p-value by Wilcoxon signed rank test.

References

  1. Roggo, Y.; Chalus, P.; Maurer, L.; Lema-Martinez, C.; Edmond, A.; Jent, N. A review of near infrared spectroscopy and chemometrics in pharmaceutical technologies. J. Pharm. Biomed. Anal. 2007, 44, 683–700. [Google Scholar] [CrossRef]
  2. Kumar, M.; Bhatia, R.; Rawal, R.K. Applications of Various Analytical Techniques in Quality Control of Pharmaceutical Excipients. J. Pharm. Biomed. Anal. 2018, 157, 122–136. [Google Scholar] [CrossRef] [PubMed]
  3. Martinez, J.C.; Guzmán-Sepúlveda, J.R.; Bolañoz Evia, G.R.; Córdova, T.; Guzmán-Cabrera, R. Enhanced Quality Control in Pharmaceutical Applications by Combining Raman Spectroscopy and Machine Learning Techniques. Int. J. Thermophys. 2018, 39, 79. [Google Scholar] [CrossRef]
  4. Heesang, A.; Hyerin, S.; Dong-Myeong, S.; Kyujung, K.; Jong-ryul, C. Emerging optical spectroscopy techniques for biomedical applications—A brief review of recent progress. Appl. Spectrosc. Rev. 2017, 53, 264–278. [Google Scholar] [CrossRef]
  5. Morris, R.E.; Hammond, M.H.; Cramer, J.A.; Johnson, K.J.; Giordano, B.C.; Kramer, K.E.; Rose-Pehrsson, S.L. Rapid fuel quality surveillance through chemometric modeling of near-infrared spectra. Energy Fuels 2009, 23, 1610–1618. [Google Scholar] [CrossRef]
  6. López, A.; Arazuri, S.; García, I.; Mangado, J.S.; Jarén, C. A review of the application of near-infrared spectroscopy for the analysis of potatoes. J. Agric. Food Chem. 2013, 61, 5413–5424. [Google Scholar] [CrossRef] [PubMed]
  7. Hernández-Hierro, J.M.; Valverde, J.; Villacreces, S.; Reilly, K.; Gaffney, M.; González-Miret, M.L.; Heredia, F.J.; Downey, G. Feasibility study on the use of visible–near-infrared spectroscopy for the screening of individual and total glucosinolate contents in Broccoli. J. Agric. Food Chem. 2012, 60, 7352–7358. [Google Scholar] [CrossRef]
  8. Cen, H.; He, Y. Theory and application of near infrared reflectance spectroscopy in determination of food quality. Trends Food Sci. Technol. 2007, 18, 72–83. [Google Scholar] [CrossRef]
  9. Huang, H.; Yu, H.; Xu, H.; Ying, Y. Near infrared spectroscopy for on/in-line monitoring of quality in foods and beverages:a review. J. Food Eng. 2008, 87, 303–313. [Google Scholar] [CrossRef]
  10. Lukacs, M.; Bazar, G.; Pollner, B.; Henn, R.; Kirchler, C.G.; Huck, C.W.; Kovacs, Z. Near infrared spectroscopy as an alternative quick method for simultaneous detection of multiple adulterants in whey protein-based sports supplement. Food Control 2018, 94, 331–340. [Google Scholar] [CrossRef]
  11. Geladi, P.; Kowalski, B.R. Partial least-squares regression: A tutorial. Anal. Chim. Acta 1986, 185, 1–17. [Google Scholar] [CrossRef]
  12. Wold, S.; Sjöström, M.; Eriksson, L. PLS-regression: A basic tool of chemometrics. Chemom. Intell. Lab. Syst. 2001, 58, 109–130. [Google Scholar] [CrossRef]
  13. Næs, T.; Martens, H. Principal component regression in NIR analysis: View-points, background details and selection of components. J. Chemom. 1988, 2, 155–167. [Google Scholar] [CrossRef]
  14. Geladi, P.; Esbensen, K. Regression on multivariate images: Principal component regression for modeling, prediction and visual diagnostic tools. J. Chemom. 1991, 5, 97–111. [Google Scholar] [CrossRef]
  15. Wang, Y.; Veltkamp, D.J.; Kowalski, B.R. Multivariate instrument standardization. Anal. Chem. 1991, 63, 2750–2756. [Google Scholar] [CrossRef]
  16. Bouveresse, E.; Massart, D. Improvement of the piecewise direct standardisation procedure for the transfer of NIR spectra for multivariate calibration. Chemom. Intell. Lab. Syst. 1996, 32, 201–213. [Google Scholar] [CrossRef]
  17. Wise, B.M.; Martens, H.; Høy, M.; Bro, R.; Brockhoff, P.B. Calibration transfer by generalized least squares. 2001. Available online: http://www.eigenvector.com/Docs/GLS_Standardization.pdf (accessed on 31 March 2019).
  18. Wise, B.M.; Martens, H.; Høy, M. Generalized least squares for calibration transfer. Available online: http://www.eigenvector.com/Docs/GLS_Calibration_Trans.pdf (accessed on 22 October).
  19. Bouveresse, E.; Hartmann, C.; Massart, D.L.; Last, I.R.; Prebble, K.A. Standardization of Near-Infrared Spectrometric Instruments. Anal. Chem. 1996, 68, 982–990. [Google Scholar] [CrossRef]
  20. Fan, W.; Liang, Y.; Yuan, D.; Wang, J. Calibration model transfer for near-infrared spectra based on canonical correlation analysis. Anal. Chim. Acta 2008, 623, 22–29. [Google Scholar] [CrossRef]
  21. Kramer, K.E.; Morris, R.E.; Rose-Pehrsson, S.L. Comparison of two multiplicative signal correction strategies for calibration transfer without standards. Chemom. Intell. Lab. Syst. 2008, 92, 33–43. [Google Scholar] [CrossRef]
  22. Blank, T.B.; Sum, S.T.; Brown, S.D.; Monfre, S.L. Transfer of near-infrared multivariate calibrations without standards. Anal. Chem. 1996, 68, 2987–2995. [Google Scholar] [CrossRef]
  23. Wold, S.; Antti, H.; Lindgren, F.; Öhman, J. Orthogonal signal correction of near infrared spectra. Chemom. Intell. Lab. Syst. 1998, 44, 175–185. [Google Scholar] [CrossRef]
  24. Sjöblom, J.; Svensson, O.; Josefson, M.; Kullberg, H.; Wold, S. An evaluation of orthogonal signal correction applied to calibration transfer of near infrared spectra. Chemom. Intell. Lab. Syst. 1998, 44, 229–244. [Google Scholar] [CrossRef]
  25. Pan, S.J.; Tsang, I.; Kwok, J.; Yang, Q. Domain adaptation via transfer component analysis. IEEE Trans. Neural Netw. 2011, 22, 199–210. [Google Scholar] [CrossRef] [PubMed]
  26. Schölkopf, B.; Smola, A.; Müller, K.R. Kernel principal component analysis. Artificial Neural Networks—ICANN’97 1997, 583–588. [Google Scholar] [CrossRef]
  27. Wilcoxon, F. Individual comparisons by ranking methods. Biometrics Bull. 1945, 1, 80–83. [Google Scholar] [CrossRef]
  28. Kennard, R.W.; Stone, L.A. Computer aided design of experiments. Technometrics 1969, 11, 137–148. [Google Scholar] [CrossRef]
  29. Haaland, D.M.; Thomas, E.V. Partial Least-Squares Methods for Spectral Analyses. 1. Relation to Other Quantitative Calibration Methods and the Extraction of Qualitative Information. Anal. Chem. 1988, 60, 1193–1202. [Google Scholar] [CrossRef]
Sample Availability: Samples are not available from the authors.
Figure 1. The effect of selecting the number of factors when building T ˜ std s _ m and T ^ std m on the cross-validation error. (A) Corn dataset and the number of the samples in the standard set is 25, (B) Corn dataset and the number of the samples in the standard set is 30, (C) Pharmaceutical tablet dataset and the number of the samples in the standard set is 25, (D) Pharmaceutical tablet dataset and the number of the samples in the standard set is 30.
Figure 1. The effect of selecting the number of factors when building T ˜ std s _ m and T ^ std m on the cross-validation error. (A) Corn dataset and the number of the samples in the standard set is 25, (B) Corn dataset and the number of the samples in the standard set is 30, (C) Pharmaceutical tablet dataset and the number of the samples in the standard set is 25, (D) Pharmaceutical tablet dataset and the number of the samples in the standard set is 30.
Molecules 24 01289 g001
Figure 2. Measured values versus predicted values of water content for corn dataset as determined by (A) piecewise direct standardization with a window size of 3 (PDS(3)), (B) piecewise direct standardization with a window size of 5 (PDS(5)), (C) piecewise direct standardization with a window size of 7 (PDS(7)), (D) slope and bias correction (SBC), (E) calibration transfer method based on canonical correlation analysis (CCACT), (F) generalized least squares (GLSW), (G) multiplicative signal correction (MSC), (H) Recalibration and (I) partial least squares regression subspace based calibration transfer (PLSCT).
Figure 2. Measured values versus predicted values of water content for corn dataset as determined by (A) piecewise direct standardization with a window size of 3 (PDS(3)), (B) piecewise direct standardization with a window size of 5 (PDS(5)), (C) piecewise direct standardization with a window size of 7 (PDS(7)), (D) slope and bias correction (SBC), (E) calibration transfer method based on canonical correlation analysis (CCACT), (F) generalized least squares (GLSW), (G) multiplicative signal correction (MSC), (H) Recalibration and (I) partial least squares regression subspace based calibration transfer (PLSCT).
Molecules 24 01289 g002
Figure 3. Plot for the differences between the feature before and after transfer in the partial least squares regression (PLS) subspace. (A) The differences of the first pseudo predicted feature of slave instrument standard set before and after transfer in PLS subspace, (B) The differences of the first pseudo predicted feature of slave instrument test set before and after transfer in PLS subspace.
Figure 3. Plot for the differences between the feature before and after transfer in the partial least squares regression (PLS) subspace. (A) The differences of the first pseudo predicted feature of slave instrument standard set before and after transfer in PLS subspace, (B) The differences of the first pseudo predicted feature of slave instrument test set before and after transfer in PLS subspace.
Molecules 24 01289 g003
Figure 4. Measured values versus predicted values of protein content for wheat dataset as determined by (A) PDS(3), (B) PDS(5), (C) PDS(7), (D) SBC, (E) CCACT, (F) GLSW, (G) MSC, (H) Recalibration and (I) PLSCT.
Figure 4. Measured values versus predicted values of protein content for wheat dataset as determined by (A) PDS(3), (B) PDS(5), (C) PDS(7), (D) SBC, (E) CCACT, (F) GLSW, (G) MSC, (H) Recalibration and (I) PLSCT.
Molecules 24 01289 g004
Figure 5. Plot for the differences between the feature before and after transfer in the PLS subspace. (A) The differences of the first pseudo predicted feature of slave instrument standard set before and after transfer in PLS subspace. (B) The differences of the first pseudo predicted feature of slave instrument test set before and after transfer in PLS subspace.
Figure 5. Plot for the differences between the feature before and after transfer in the PLS subspace. (A) The differences of the first pseudo predicted feature of slave instrument standard set before and after transfer in PLS subspace. (B) The differences of the first pseudo predicted feature of slave instrument test set before and after transfer in PLS subspace.
Molecules 24 01289 g005
Figure 6. Measured values versus predicted values of pharmaceutical tablet dataset as determined by (A) PDS(3), (B) PDS(5), (C) PDS(7), (D) SBC, (E) CCACT, (F) GLSW, (G) MSC, (H) Recalibration and (I) PLSCT.
Figure 6. Measured values versus predicted values of pharmaceutical tablet dataset as determined by (A) PDS(3), (B) PDS(5), (C) PDS(7), (D) SBC, (E) CCACT, (F) GLSW, (G) MSC, (H) Recalibration and (I) PLSCT.
Molecules 24 01289 g006
Figure 7. Plot for the differences between the feature before and after transfer in the PLS subspace. (A) The differences of the first pseudo predicted feature of slave instrument standard set before and after transfer in PLS subspace, (B) The differences of the first pseudo predicted feature of slave instrument test set before and after transfer in PLS subspace.
Figure 7. Plot for the differences between the feature before and after transfer in the PLS subspace. (A) The differences of the first pseudo predicted feature of slave instrument standard set before and after transfer in PLS subspace, (B) The differences of the first pseudo predicted feature of slave instrument test set before and after transfer in PLS subspace.
Molecules 24 01289 g007
Figure 8. (A) The difference between the spectra of corn samples measured on M5 and MP5; (B) the difference between the spectra of wheat samples measured on A1 and A2; (C) the difference between the spectra of pharmaceutical tablet dataset.
Figure 8. (A) The difference between the spectra of corn samples measured on M5 and MP5; (B) the difference between the spectra of wheat samples measured on A1 and A2; (C) the difference between the spectra of pharmaceutical tablet dataset.
Molecules 24 01289 g008
Table 1. Root mean square error of prediction (RMSEP) obtained by Calibration, Direct transfer, and Recalibration on three spectra datasets.
Table 1. Root mean square error of prediction (RMSEP) obtained by Calibration, Direct transfer, and Recalibration on three spectra datasets.
InstrumentMethodsLVsRMSEP
CornCalibration 1130.010156
Direct transfer 2 1.41931
Recalibration 350.208522
WheatCalibration 1120.258014
Direct transfer 2 0.85131
Recalibration 380.530799
Pharmaceutical tabletCalibration 173.123115
Direct transfer 2 4.514284
Recalibration 323.31598
1 Calibration: the calibration model of the calibration set of the master instrument; 2 Direct transfer: the calibration model of master instrument is used on the slave instrument without modification; 3 Recalibration: the calibration model of the calibration set of the slave instrument.

Share and Cite

MDPI and ACS Style

Zhao, Y.; Yu, J.; Shan, P.; Zhao, Z.; Jiang, X.; Gao, S. PLS Subspace-Based Calibration Transfer for Near-Infrared Spectroscopy Quantitative Analysis. Molecules 2019, 24, 1289. https://doi.org/10.3390/molecules24071289

AMA Style

Zhao Y, Yu J, Shan P, Zhao Z, Jiang X, Gao S. PLS Subspace-Based Calibration Transfer for Near-Infrared Spectroscopy Quantitative Analysis. Molecules. 2019; 24(7):1289. https://doi.org/10.3390/molecules24071289

Chicago/Turabian Style

Zhao, Yuhui, Jinlong Yu, Peng Shan, Ziheng Zhao, Xueying Jiang, and Shuli Gao. 2019. "PLS Subspace-Based Calibration Transfer for Near-Infrared Spectroscopy Quantitative Analysis" Molecules 24, no. 7: 1289. https://doi.org/10.3390/molecules24071289

Article Metrics

Back to TopTop