Knn-classification o regression
kiran2004
New Altair Community Member
am trying to do knn in my process, and my requirement is to get knn classification not Knn regression, but i am getting KNN regression model somehow. why so ? how can i get KNN classification? i have gone through all the tutorial processes but still not bale to get the KNN classification .
Tagged:
0
Answers
-
Hello @kiran2004,in both cases the operator is the same, the main difference is the dataset and the label (target)if you have numerical attribute in a continuos space as label you are attempting a regression model, but if you have a discrete label polynominal attribute, like {yes, no} or {0,1}, etc, you have a classification model.
best,
César0