BookmarkSubscribeRSS Feed
MuratA
Calcite | Level 5

Hi all,

I was wondering if anyone added a k-NN model in a pipeline in SAS Model Studio. I do not see it as an option under the Supervised Learning nodes. 

 

I know SAS code can be imported as a model node as nicely explained here https://documentation.sas.com/doc/en/vdmmlcdc/8.4/vdmmlug/n0viw7mfrsae20n1rsv03yrfjovq.htm

using a gradient boosting model. I also know about a k-NN implementation on SAS (https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casml/casml_fastknn_overview.htm

I couldn't figure out how to revise the PROC to run in the Model Studio.

Any help would be appreciated. 

 

4 REPLIES 4
MuratA
Calcite | Level 5
Thanks for your response! But this seems to the preprocessing step and not the predictive model.
JosvanderVelden
SAS Super FREQ
What do you want to predict using the k-Nearest Neighbor model. Do you have a target you want to predict or do you want to find clusters?
MuratA
Calcite | Level 5
Hi, yes, this is a prediction problem, where I want to predict a class or a number using the k_NN model.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Discussion stats
  • 4 replies
  • 649 views
  • 0 likes
  • 2 in conversation