K Nearest Neighbor: Making a Prediction for New Record
Jan 21, 2020 5:03 PM(458 views)
Hi! I've run k-nn and saved prediction formulas for my dataset. Now I am trying to make predictions for a number of new records and can't seem to recall how to do this (I have done this before but it's been several months).
Any help on this would be much appreciated! Thanks in advance for your suggestions/tips!
Thanks much for your reply. This is exactly what I had planned to do (and what I thought I had done before) but it doesn't work for some reason. What I figured out was that I had to add the records BEFORE running the algorithm and saving the prediction formula - this does seem to work.