BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Helgard
Calcite | Level 5

Is it possible to have more than one target variable specified for Neural Networks in SAS Viya? Proc NNet and the neuralNet action in Proc CAS do not seem to allow this.

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

Hello,

 

According to the doc of PROC NNET, you can indeed specify only one target variable (or none in which case an auto-encoder is trained).

 

But PROC NEURAL and PROC HPNEURAL accept multiple variables in the TARGET statement.

The 2 targets are fit simultaneously, in a single model.

 

Also, in Enterprise Miner (SAS 9.4), ... in your metadata, ... you could assign the TARGET role to multiple variables. A single NN-model was then created to explain / predict all targets (dependent vars).

 

I never tried the latter in Model Studio (SAS Viya successor to EMiner for ML-projects). You can try it ... assigning TARGET role to 2 variables.

 

By the way, you can still run PROC HPNEURAL in SAS Viya. It will run in SPRE-engine, but multi-threaded.

 

Koen

View solution in original post

2 REPLIES 2
sbxkoenk
SAS Super FREQ

Hello,

 

According to the doc of PROC NNET, you can indeed specify only one target variable (or none in which case an auto-encoder is trained).

 

But PROC NEURAL and PROC HPNEURAL accept multiple variables in the TARGET statement.

The 2 targets are fit simultaneously, in a single model.

 

Also, in Enterprise Miner (SAS 9.4), ... in your metadata, ... you could assign the TARGET role to multiple variables. A single NN-model was then created to explain / predict all targets (dependent vars).

 

I never tried the latter in Model Studio (SAS Viya successor to EMiner for ML-projects). You can try it ... assigning TARGET role to 2 variables.

 

By the way, you can still run PROC HPNEURAL in SAS Viya. It will run in SPRE-engine, but multi-threaded.

 

Koen

Helgard
Calcite | Level 5
Thanks!

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 304 views
  • 1 like
  • 2 in conversation