I have used to following code to train a neural net model:
I then exported the model so that I can use it in a different sas file to score data using the following code which is part of the same file as the code above:
In a different file, I then import the model and use it to score new data using the following code:
However this generates the following error:
I have the feeling that you cant simple export and import a model generated by the inmodel statement like a normal dataset. So how do I export and import it. Different model types have a SAVESTATE statement that can be used with PROC ASTORE to properly IMPORT and EXPORT the model but PROC NNET does not have the option for a SAVESTATE statement so how can this be done?
Tell us about the SAS version you are using.
Submit
%PUT &=sysvlong4;
... and tell us what's in the log-screen.
If I look at the latest 2024.08 documentation
(https://go.documentation.sas.com/doc/en/pgmsascdc/v_054/casml/casml_nnet_syntax12.htm) , there is a
Both ways can be used to score data similar to the input data.
Koen
Tell us about the SAS version you are using.
Submit
%PUT &=sysvlong4;
... and tell us what's in the log-screen.
If I look at the latest 2024.08 documentation
(https://go.documentation.sas.com/doc/en/pgmsascdc/v_054/casml/casml_nnet_syntax12.htm) , there is a
Both ways can be used to score data similar to the input data.
Koen
When i put in that code i get the following:
V.03.05M0P11112019
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.