Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the code forget normalized inverse of the distance
your: Batch #1 MSE: 14.38 After correction: Batch #1 MSE: 10.625 "We also have to choose how to weight the distances. A straight forward way to weight the distances is by the distance itself. Points that are further away from our prediction should have less impact than nearer points. The most common way to weight is by the normalized inverse of the distance."--according to your "Nearest Neighbor Methods Introduction".
- Loading branch information