Research Article

Analysis and Recognition of Food Safety Problems in Online Ordering Based on Reviews Text Mining

Table 4

Evaluation results of confusion matrix of text distinguish classifier of the online ordering platform.

Classification algorithmAccuracyPrecisionSpecificityF1 measure
BERTTF-IDFWord2vecN-gramBERTTF-IDFWord2vecN-gramBERTTF-IDFWord2vecN-gramBERTTF-IDFWord2vecN-gram

GBDT0.9080.8990.8800.8990.9300.9010.8870.9010.5310.2960.1870.2960.9360.9430.9300.943
XGBoost0.8910.8920.8510.8710.9110.8920.8520.8710.3880.2180.0300.1770.9280.9410.9180.929
LSTM0.7810.8030.8710.8530.8690.8030.8770.8530.1360.0000.09900.8280.8910.9270.920
BiLSTM0.7790.8660.8600.8530.8670.8660.8610.8530.1260.0000.00700.8270.9280.9240.921
CNN0.8090.8130.8010.8630.8650.8700.8660.8630.0680.1050.08800.8620.8640.8530.927
RNN0.8340.8530.8500.8610.8670.8530.8500.8610.0540.0000.00000.8900.9210.9190.925
RCNN0.8040.7980.8150.8140.8660.8650.8640.8700.0850.0850.0480.1090.8550.8500.8700.865