Research Article
A Machine Learning Approach for Specification of Spinal Cord Injuries Using Fractional Anisotropy Values Obtained from Diffusion Tensor Images
Algorithm 1
Pseudocode for KNN classification.
-Nearest Neighbor | Classify () // : training data, : class labels of , : unknown sample | for to do | Compute distance | end for | Compute set I containing indices for the k smallest distances . | return majority label for where |
|