Research Article
Improved KNN Algorithm Based on Preprocessing of Center in Smart Cities
Table 5
The classification results of KNNPK+.
| | ā | K value | Accuracy (%) | Classification time (s) |
| | Hayes roth | 2 | 98.1 | 0.03 | | Iris | 2 | 982 | 0.034 | | Seeds | 3 | 89.7 | 0.246 | | Pima Indians | 3 | 90.1 | 0.987 | | Page blocks | 3 | 91.7 | 8.489 | | Shuttle | 6 | 89.6 | 977.46 |
|
|