You can use the %AAMODEL
macro and the %AA_MODEL_REGISTER macro to register to the SAS Metadata
Repository
SAS/STAT item store models and high performance models
that are not created with SAS Enterprise Miner. If you do not want
to register the model, you can create SAS package files (SPK) without
registering the model. After the model is registered to the SAS Metadata
Repository you can import the model to SAS Model Manager using the
import from SAS Metadata Repository method. If you create an SPK file,
you would import the model using the import from SAS Model Package
File method.
The %AAMODEL macro is
an autocall macro that loads the %AA_MODEL_REGISTER macro. This macro
must be submitted before you submit the %AA_MODEL_REGISTER macro.
You specify these types
of arguments in the %AA_MODEL_REGISTER macro:
-
The model identification argument’s
name. You must also describe a model and identify a
SAS/STAT item
store.
-
Action arguments specify whether
to create an SPK file and whether to register the model in the SAS
Metadata Repository.
-
You specify model component arguments
when a
SAS/STAT procedure does not create an item store or if a model
is created using high performance analytic procedures . The model
component arguments identify the train data set, the model level,
and the score code file. The arguments also identify whether the score
code is only DATA step code or a SAS program that includes DATA step
code, macros, procedures.
-
Other options are available to
add information to the model or to specify whether to keep or delete
the data sets that the macro produces.
When you are registering
the model to the SAS Metadata Repository, you can specify the metadata
server connection system options before you run the %AAMODEL and %AAMODEL_REGISTER
macros. If these options are not specified, dialog boxes appear to
prompt you for the information. Here is a sample OPTIONS statement
that specifies these options:
options metaPort=8561
metaServer=server-address
metaRepository=Foundation
metaUser=user-ID
metaPass=password;
These
SAS/STAT procedures
can create an item store using the STORE statement:
|
|
|
Training code is not
included
|
|
Training code is not
included
|
|
Training code is not
included
|
|
Fit statistics are not
included
|
|
|
|
Training code is not
included
|
|
Training code or fit
statistics are not included
|
If you want to retrain
models using SAS Model Manager and if the procedure item store does
not include training code, you must create the SAS training code before
you run the %AA_MODEL_REGISTER macro.
Note: Item store restrictions
have not been evaluated for other
SAS/STAT procedures that have a
STORE statement. Using the %AA_MODEL_REGISTER macro might cause undesirable
results.