Method of combining one-dimensional convolution neural network and negative correlation learning for analysis of near-infrared spectra
m5 data was chosen to build the model. In addition, the outliers (75 and 77) are removed from this dataset. Ramdonly choose 62 sampels for cailbration,8 for vaildation and 8 for prediction.Since there are only 78 samples in the dataset, we preform SMOTE algorithm on it.
There are three formats of these data. Standard Matlab Variable Format was used.
Synthetic Minority Over-sampling Technique (SMOTE) is used to expand corn dataset.N/100 is the sampling ratio and k is the number of neighbors.it is not reliable to build a model using data created by SMOTE, so it is necessary to use real samples for prediction.Before SMOTE, extend Y(Independent variable) to the back of X(dependent variable).
This one-dimensional convolution neural network is suitable for both spectral data mentioned above.
The model cannot be trained at once. It is necessary to adjust the learning rate and the number of epochs according to the changes of rmsec and rmsecv. The picture below shows that the model has converged and it's time to stop training.