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

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?

1 ACCEPTED SOLUTION

Accepted Solutions
jwexler
SAS Employee

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.

View solution in original post

2 REPLIES 2
jwexler
SAS Employee

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.

NN1
Calcite | Level 5 NN1
Calcite | Level 5
It worked! Thanks for your help!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 2 replies
  • 1987 views
  • 0 likes
  • 2 in conversation