You can use the %AAModel
macro and the %AA_Model_Register macro to register the SAS Metadata
Repository models that are not created by SAS Enterprise Miner. These
models are created by SAS procedures and are supported by SAS Model
Manager:
-
SAS/STAT item store models
-
-
-
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, if a model
is created using high performance analytic procedures, or if you are
registering PROC COUNTREG or PROC SEVERITY models. 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.
-
The Lookup=Select option if a
SAS/STAT
model’s input variable includes non-latin1 characters. This
option ensures the generation of correct score code.
-
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.