Hello,
I would like to save Proc Neural parameter estimates in a file and re-use them to make predictions. For example, first run:
proc neural data=out_training dmdbcat=out.cat_training random=789;
input PRI_jet_all_pt / level=nominal id=i;
target label / level=nominal id=o;
train;
save outest=out.est;
run;
This saves the parameter estimates in out.est. Is there a way to run Proc Neural again on different datasets to make predictions, i.e. with the USE statement, e.g.
proc neural data=out_training dmdbcat=out.cat_training;
USE out.est;
score out=out outfit=fit;
run;
When I run the above I receive the following error ("ERROR: Will not be able to continue"):
proc neural data=out_training dmdbcat=out.cat_training;
use out.est;
There are no layers in the network.
ERROR: Will not be able to continue.
score out=out outfit=fit;
run;
Any ideas?
Hi, have you tried using data step scorecode (code statement)? Proc neural produces scorecode so you can use this scorecode in a scoring process with data step.
Hi, have you tried using data step scorecode (code statement)? Proc neural produces scorecode so you can use this scorecode in a scoring process with data step.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.