1.Automatic sleep staging based on power spectral density and random forest.
Journal of Biomedical Engineering 2023;40(2):280-285
The method of using deep learning technology to realize automatic sleep staging needs a lot of data support, and its computational complexity is also high. In this paper, an automatic sleep staging method based on power spectral density (PSD) and random forest is proposed. Firstly, the PSDs of six characteristic waves (K complex wave, δ wave, θ wave, α wave, spindle wave, β wave) in electroencephalogram (EEG) signals were extracted as the classification features, and then five sleep states (W, N1, N2, N3, REM) were automatically classified by random forest classifier. The whole night sleep EEG data of healthy subjects in the Sleep-EDF database were used as experimental data. The effects of using different EEG signals (Fpz-Cz single channel, Pz-Oz single channel, Fpz-Cz + Pz-Oz dual channel), different classifiers (random forest, adaptive boost, gradient boost, Gaussian naïve Bayes, decision tree, K-nearest neighbor), and different training and test set divisions (2-fold cross-validation, 5-fold cross-validation, 10-fold cross-validation, single subject) on the classification effect were compared. The experimental results showed that the effect was the best when the input was Pz-Oz single-channel EEG signal and the random forest classifier was used, no matter how the training set and test set were transformed, the classification accuracy was above 90.79%. The overall classification accuracy, macro average F1 value, and Kappa coefficient could reach 91.94%, 73.2% and 0.845 respectively at the highest, which proved that this method was effective and not susceptible to data volume, and had good stability. Compared with the existing research, our method is more accurate and simpler, and is suitable for automation.
Humans
;
Random Forest
;
Bayes Theorem
;
Sleep Stages
;
Sleep
;
Electroencephalography/methods*
2.Origin identification of Polygonatum cyrtonema based on hyperspectral data.
Deng-Ting ZHANG ; Jian YANG ; Ming-En CHENG ; Hui WANG ; Dai-Yin PENG ; Xiao-Bo ZHANG
China Journal of Chinese Materia Medica 2023;48(16):4347-4361
In this study, visual-near infrared(VNIR), short-wave infrared(SWIR), and VNIR + SWIR fusion hyperspectral data of Polygonatum cyrtonema from different geographical origins were collected and preprocessed by first derivative(FD), second derivative(SD), Savitzky-Golay smoothing(S-G), standard normalized variate(SNV), multiplicative scatter correction(MSC), FD+S-G, and SD+S-G. Three algorithms, namely random forest(RF), linear support vector classification(LinearSVC), and partial least squares discriminant analysis(PLS-DA), were used to establish the identification models of P. cyrtonema origin from three spatial scales, i.e., province, county, and township, respectively. Successive projection algorithm(SPA) and competitive adaptive reweighted sampling(CARS) were used to screen the characteristic bands, and the P. cyrtonema origin identification models were established according to the selected characteristic bands. The results showed that(1)after FD preprocessing of VNIR+SWIR fusion hyperspectral data, the accuracy of recognition models established using LinearSVC was the highest, reaching 99.97% and 99.82% in the province origin identification model, 100.00% and 99.46% in the county origin identification model, and 99.62% and 98.39% in the township origin identification model. The accuracy of province, county, and township origin identification models reached more than 98.00%.(2)Among the 26 characteristic bands selected by CARS, after FD pretreatment, the accuracy of origin identification models of different spatial scales was the highest using LinearSVC, reaching 98.59% and 97.05% in the province origin identification model, 97.79% and 94.75% in the county origin identification model, and 90.13% and 87.95% in the township origin identification model. The accuracy of identification models of different spatial scales established by 26 characteristic bands reached more than 87.00%. The results show that hyperspectral imaging technology can realize accurate identification of P. cyrtonema origin from different spatial scales.
Spectroscopy, Near-Infrared
;
Polygonatum
;
Algorithms
;
Random Forest
;
Least-Squares Analysis