The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Knn-classification o regression

kiran2004kiran2004 Member Posts: 3 Learner I
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 .

Answers

  • ceaperezceaperez Member Posts: 541 Unicorn
    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ésar
Sign In or Register to comment.