This article is a 2nd follow up on a question from an article I published a few weeks ago and where I discussed how to deploy a SAS analytical model to MAS and execute it through REST API calls. Question came how to execute same scoring model through Python code.
Independent form where you make a SAS Viya API call, you need to obtain an access token:
As we know the name of our model we can find name, id… of the publsihed MAS model. With the found model ID I can retrieve input and output variables.
With that you have the necessary information to run the scoring step:
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.