BookmarkSubscribeRSS Feed
Emily_s
Calcite | Level 5

Im using proc recommand in sas studio. I want to know how all user's score is shown. 

I have this code. That code can show just 2 person's score which of '10006','15000'.

     predict /label  = "knn"
            method = knn  
            Num    = 5
            users = ("10006","15000");

 

how can i get all user's score?

1 REPLY 1
ballardw
Super User

Provide example data and what the result should look like. There are enough potential definitions of "score" to cause some confusion.

And snippets from the middle of a procedure aren't terribly helpful either as many SAS procedures share common elements and we cannot even tell which one you may be using.

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 lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 823 views
  • 0 likes
  • 2 in conversation