BookmarkSubscribeRSS Feed
William29
Calcite | Level 5

I have the following model that I build in SAS viya:

 

William29_0-1693785097450.png

 

Here is the pipeline:

 

William29_1-1693785178767.png

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?

 

 

4 REPLIES 4
sbxkoenk
SAS Super FREQ

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

sbxkoenk
SAS Super FREQ

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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to choose a machine learning algorithm

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.

Discussion stats
  • 4 replies
  • 913 views
  • 0 likes
  • 3 in conversation