Hi all,
this might be a really stupid question but I am currently getting to grips with SAS VIYA with a view to move our company over later in the year from EG and as far as I know I have searched all relevant documentation without a satisfactory answer (probably missed it).
After you define a Target variable in model studio and then run a pipeline should you be able to change the target variable? as I cant, and one of my modules failed as I selected the wrong target. I would prefer to change the target variable rather than start a fresh but either way would like to know if its possible so I can share that knowledge with my colleagues.
many thanks in advance
Stewart Jardine
Hello @stew90210 ,
Use the below node in your Model Studio pipeline ( and change | replace your target variable with it ) :
Manage Variables |
Enables you to make modifications to the variable metadata from within a Model Studio pipeline. |
---|
BR,
Koen
See above message (also written by me).
I am coming back to this , because the information given (in August 2022) is wrong.
You can indeed use the "Manage Variables"-node in a Model Studio VDMML project to make changes to the metadata (role, measurement level, order, ...) of the variables involved, but for the target variable you cannot. For the target variable, the modification screen is greyed out (locked).
In fact, you should also be aware of the fact that the target variable role in a Model Studio project cannot be modified after executing any node or pipeline in it.
So, think carefully before defining the target variable in the data pane, because once you start working with it you can't go back!
BR, Koen
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.