BookmarkSubscribeRSS Feed
Hungry2Learn
Calcite | Level 5

I'm using the following chunk of code to try and score some new data.

 

proc nnet data=casuser.newdata inmodel=casuser.oldmodel;
     score out=casuser.scoreddata;
run;

Upon running this code, I receive the following errors:

ERROR: Invalid argument
ERROR: The action stopped due to errors

 

I've double checked that all of the inputs in the newdata table are named exactly as used in the model and I've tried multiple variations of copyvar arguments in the score statement, but the only change that's been able to eliminate the error is by removing the score statement so that the code is as follows:

proc nnet data=casuser.newdata inmodel=casuser.oldmodel;
run;

The code runs without error in this case, but that doesn't help me. A big part of my problem right now is not knowing what to look and to fix this, so any help would be greatly appreciated.

1 REPLY 1
PaigeMiller
Diamond | Level 26

I agree that this message is very ambiguous, and I have never actually seen this error message myself. Due to the vagueness of the error message, and you attempts to troubleshoot the problem so far, I would contact SAS technical support on this one.

--
Paige Miller

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!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 237 views
  • 0 likes
  • 2 in conversation