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



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

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