Tuesday, February 22, 2011

Scoring Data In SAS Enterprise Miner

The following diagram indicates the schema for scoring data in SAS Enterprise Miner. The SAS Code node is necessary for telling Enterprise Miner where the data to be scored is located, and where the model information is that will be used for scoring.  

/* CODE TO BE ENTERED IN THE SAS CODE NODE */
/* THE SCORE  DATA MUST BE IN A LIBRARY */
/* ACCESSIBLE TO ENTERPRISE MINER */

DATA YOUR_LIBRARY.YOUR_SCORE_DATA;
 SET &EM_IMPORT_SCORE;
 RUN;

  /* THE CODE IN THE SET STATEMENT  IS GENERIC CODE THAT SEEMS TO WORK
ANY WHERE IN THE PROJECT AS LONG AS IT FOLLOWS THE 'SCORE' NODE*/

No comments:

Post a Comment

Post a Comment