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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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