The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.
Options

Knn-classification o regression

kiran2004kiran2004 Member Posts: 3 Newbie
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

  • Options
    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.