The integration of the
SAS Embedded Process and Aster allows scoring code to be running directly
using the SAS Embedded Process on Aster through a SQL/MR function.
The SQL/MR function is the framework for enabling execution of
user-defined functions within Aster through an SQL interface. A SAS SQL/MR function, SAS_SCORE(), performs the scoring of models published in Aster.
The SAS Embedded Process
is a SAS server process that runs inside Aster to read and write data.
The model publishing macro creates scoring files that are then used
in a stored procedure to run the scoring model.
The %INDAC_PUBLISH_MODEL macro uses some of the files that are created by the
SAS Enterprise Miner Score Code Export node: the scoring model program
(score.sas file), the properties file (score.xml file), and (if the
training data includes SAS user-defined formats) a format catalog.
The
%INDAC_PUBLISH_MODEL macro performs the following tasks:
-
takes the score.sas and score.xml
files that are created using the Score Code Export node and produces
two files for each scoring model. The following files are produced:
-
sasscore_modelname.ds2.
This file contains code that is executed by the SAS_SCORE()
function.
-
sasscore_modelname_io.xml.
This file contains the scoring model's input and output variables.
-
takes the format catalog, if available,
and produces the sasscore_modelname_ufmt.xml
file. This file contains user-defined formats for the scoring model
that is being published.
-
uses the
SAS/ACCESS Interface to
Aster
nCluster
to insert the three scoring files into a table.
For more information,
see
Scoring Files Table.
After the scoring files
are published, you can call the SAS_SCORE()
function to execute the scoring model.
For more information,
see
SAS_SCORE() Function.
The SAS Scoring Accelerator
for Aster requires a specific version of the Aster client and server
environment. For more information, see the SAS Foundation system requirements
documentation for your operating environment.