I have the following model that I build in SAS viya:
Here is the pipeline:
How do I extract the code for this model; for example, I want to extract the code for the data step and the random forest part of the pipeline. How do I do that, as I can see an option for this anywhere?
Maybe this helps?
Hello,
Do you want to extract the training code or the scoring code?
Or do you want to run the project in batch modus (running batch code to update the project)?
I suspect you want the training code. Correct?
I don't know of a way doing that other than checking the node logs and the project logs.
But be aware ... these logs contain lots of code that are there for Model Studio to work properly. You do not need all this code when you want to do the same in SAS Studio.
Good luck,
Koen
Yes, I want the training code.
Hello,
Above I was writing about checking the node logs and the project logs to learn about training code.
However, to see everything (again, you will see too much!)
, you will have to enable debug logging before running the node(s).
Koen
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.