BookmarkSubscribeRSS Feed
rboire
Calcite | Level 5

in PROC HPNEURAL, what is the right syntax in using character level variables. You can see from PROC LOGISTIC that this is handled appropriately through the class statement. see below.

 

PROC LOGISTIC DATA=lib1.Training_Atlantic outmodel=sasuser.HS_log_Model;
Class  LISTTYPEClasfnListSrcRentExcHse (Ref='R') NUMLISTSourcesFromWhichRecCame     PROV1  ;
MODEL My_RESPONDER_FLAG( EVENT='1' ) =   X1  LISTTYPEClasfnListSrcRentExcHse   NUMLISTSourcesFromWhichRecCame   Non_Resp  HKINTERSECT   PROV1                                       
/selection=backward  lackfit rsq stb;
store HS_log_Model;
RUN;

1 REPLY 1
WendyCzika
SAS Employee

In HPNEURAL, you use INPUT statements to define your inputs, with the appropriate LEVEL= option, e.g.:

 

input classvar1 classvar2 .... / level=nom;

input continuousvar1 continuousvar2 ... / level=int;

 

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 886 views
  • 0 likes
  • 2 in conversation