Is there a way to tell the Knn function in Python how often he should train the model before I predict a possible outcome? From my understanding, if a model is trained more than one time, it is more robust. Or do I get that wrong? From my code it seems that the model is probably one get trained one time:
from sklearn.neighbors import KNeighborsClassifier
neigh = KNeighborsClassifier(n_neighbors=1)
neigh.fit(X_train, y_train)