Classify the following snippet of Python code as data wrangling, visualization, or machine learning.
from sklearn.neighbors import KNeighborsClassifier

knn = KNeighborsClassifier(n_neighbors=5)
knn.fit(X, y)
Machine learning.