Table 2.
Hyperparameter search ranges of kNN and SVM classifiers
| Feature | Value | Feature | Value |
|---|---|---|---|
| Classifier type | kNN | Classifier type | SVM |
| Number of neighbors | 1–380 | Multiclass method | One-vs-all, One-vs-one |
| Distance metric | City block, Chebyshev, Correlation, Cosine, Euclidean, Hamming, Jaccard, Mahalanobis, Cubic, Spearman | Box constraint level | 0.001–1000 |
| Distance weight | Equal, Inverse, Squared inverse | Kernel scale | 0.001–1000 |
| Iteration | 30 | Kernel function | Gaussian, Linear, Quadratic, Cubic |