I used the Grey Wolf Optimizer (GWO) to select the most relevant features for a classification task using the k-Nearest Neighbors (kNN) algorithm. The GWO searched for the optimal subset of features that maximized the performance of the kNN classifier. I trained the kNN classifier with the selected features and tested it on a separate dataset.