目录
1.算法仿真效果
matlab2022a仿真结果如下:
.......Output.......
The feature of the original data is: 3776
The feature of the reduced data is: 10
The Accuracy of prediction using KNN is 12.7303
The loss obtained by cross-validated classification using KNN is 0.8405
The Accuracy of prediction using NB is 28.1407
The loss obtained by cross-validated classification using NB is 0.7339
.......Output.......
The feature of the original data is: 3776
The feature of the reduced data is: 20
The Accuracy of prediction using KNN is 27.9732
The loss obtained by cross-validated classification using KNN is 0.7178
The Accuracy of prediction using NB is 41.0385
The loss obtained by cross-validated classification using NB is 0.5901
.......Output.......
The feature of the original data is: 3776
The fea