Hi All,
I'm using Model Studio on SAS Viya 3.4. I am able to run an Open Source Code Node with an R or Python model in it. However, as mentioned in the online documentation, the Open Source Code Node doesn't support the operations "Download score code", "Register model", "Publish model", ... in the Pipeline Comparison tab.
These operations are not supported because the Open Source Code node does not generate SAS score code.
Hi @RVB ,
I received the following response to your question from a colleague of mine:
This is a little bit hacky but:
I have a code example below based off the R RandomForest example on our public GitHub - it's a bit spaghetti since I don't know R but the key is you must output the PMML file in an accessible directory, either by changing 'dm_nodedir' or use the R function 'setwd()' which I did (for Python, do the equivalent as well)
P.S. To state the obvious - this requires Model Manager licensed since PROC PSCORE is bundled with it.
Hope this helps,
Joe
Join us for SAS Community Trivia
SAS Bowl XLIX, SAS Innovate 2025
Wednesday, February 19, 2024, at 10:00 a.m. ET | #SASBowl
The Coding on SAS Viya Community is sunsetting and all threads have moved to the Developers Community. Moving this thread now.
@RVB, I'll look into finding someone to answer your question.
Join us for SAS Community Trivia
SAS Bowl XLIX, SAS Innovate 2025
Wednesday, February 19, 2024, at 10:00 a.m. ET | #SASBowl
Hi @RVB ,
I received the following response to your question from a colleague of mine:
This is a little bit hacky but:
I have a code example below based off the R RandomForest example on our public GitHub - it's a bit spaghetti since I don't know R but the key is you must output the PMML file in an accessible directory, either by changing 'dm_nodedir' or use the R function 'setwd()' which I did (for Python, do the equivalent as well)
P.S. To state the obvious - this requires Model Manager licensed since PROC PSCORE is bundled with it.
Hope this helps,
Joe
Join us for SAS Community Trivia
SAS Bowl XLIX, SAS Innovate 2025
Wednesday, February 19, 2024, at 10:00 a.m. ET | #SASBowl
Hi Joe,
Thanks a lot for your answer!
Robbe
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.