Posted on:

12 Jan 2023

0

KNN training time

I was thinking like "What? Isn't KNN supposed to just memorize the training data? Why it takes any time at all?" Well, StandardScaler takes nearly all the time. I wonder if the data can be pre-scaled once an for all to avoid make_pipeline(StandardScaler(), KNeighborsClassifier(n_neighbors=3))

0 answers ( 0 marked as helpful)

Submit an answer