Better HN
topnewbestaskshowjobs
Log inSign up

mdmsmnns83726

4 karma · joined May 12, 2020 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

There are some pretty egregious errors here. Decreasing K increases the variance and is more prone to overfitting. Increasing K increases the bias and is not necessarily more accurate. It all depends on the underlying distribution of the data.

What is the time complexity of knn? Why should I use it? When do you not want to use it?