Closed jonathangriffiths closed 4 years ago
Need evidence for why this is necessary.
Also self.dist
is a KNN result while sim.dist
is a range result.
Good spot.
Evidence won't be forthcoming right away, but I will try to put something together soon.
Closing for now, need to test more before this should be implemented
I've restored the option to use the tricube kernel here, as well as making a small change to the documentation that covers (what I think is) the newer approach.
I've not been able to test this, as I don't have a suitable R environment installed, and I'm not inclined to make one! However, the changes are small, and default behaviour really ought to be unaffected. I'm hoping it might be easy on your end to give it a whirl?
I'm not sure if you'll be happy with ending the function with a big if/else block - let me know if there is a more elegant solution, short of pulling out the blocks into a separate function.