knn density estimation R [closed]

随声附和 提交于 2019-12-25 03:44:05

问题


Is there any function/package to perform k-Nearest Neighbor based density estimation in R?


回答1:


class package: function knn

ipred package: function ipredknn

This search on Baron's Site brings up 29 hits.

And the Multivariate Task View has two sections on classification, and has links to a few packages that do knn and related tasks.




回答2:


I haven't used it, but the the kknn package might help.

You might also look at class and knncat for classification using k-nearest neighbor functions.



来源:https://stackoverflow.com/questions/5840983/knn-density-estimation-r

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!