Seach the website
Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Courses
Feedback
Recent questions tagged knn
4
4 votes
1
answers
1 answer
7.6k
7.6k views
How to perform a classification or regression using k-NN?
Suppose, you have given the following dataset where x and y are the 2 features and color Red or Blue is the target variable.a) A new data point $x=1$ and $y=1$ is given. ...
tofighi
116k
points
73
79
101
asked
Jun 26, 2019
Machine Learning
machine-learning
knn
regression
classification
ml-exercise
ml-midterm
ele888-midterm
+
–
1
1 vote
1
1 answer
3.2k
3.2k views
Calculate k nearest points using kNN for a single D array
I am not able to figure out how the calculation of the $m$ nearest points will be in a single dimensional array using kNN. Can anyone offer a clue or example?Thank you
RSH
160
points
2
2
2
asked
Oct 1, 2018
Machine Learning
knn
machine-learning
+
–
1
1 vote
3
3 answers
3.7k
3.7k views
K Nearest Neighbor (KNN) - includes itself
The KNN function in the sklearn library (when coded properly), outputs the points closest to p based on the value of k, and others.The point(s) would include itself when ...
kalyanak.p
1.4k
points
4
5
8
asked
Oct 1, 2018
Machine Learning
knn
machine-learning
python
+
–
3
3 votes
2
2 answers
13.3k
13.3k views
What happens as the K increases in the KNN algorithm ?
I am wondering what happens as K increases in the KNN algorithm. It seems that as K increases the "p" (new point) tends to move closer to the middle of the decision bound...
Neo
660
points
10
12
17
asked
Sep 27, 2018
Machine Learning
machine-learning
knn
+
–
3
3 votes
0
0 answers
532
532 views
How is KNN different from k-means clustering?
datascience
1.1k
points
9
11
19
asked
Sep 27, 2018
Machine Learning Interview Questions
knn
k-means
+
–
3
3 votes
1
1 answer
1.1k
1.1k views
Is normalization necessary in all KNN algorithms? (Python)
I have read online articles involving KNN and its emphasis on normalization. I would like to know if all KNN functions in Python need to involve normalization? I do know ...
kalyanak.p
1.4k
points
4
5
8
asked
Sep 26, 2018
Machine Learning
knn
machine-learning
+
–
To see more, click for the
full list of questions
or
popular tags
.