SAS Model Manager uses
the SAS Publishing Framework to publish models to defined channels.
The SAS Publishing Framework notifies subscribers of the publication
channel when the models are delivered. You can publish models from
the organizational, project, version, or model folder in the Project
Tree.
SAS Model Manager creates
a SAS package (SPK) file for the model in a publication channel. A
user who subscribes to the publication channel can choose to receive
e-mail that includes the SAS package as an attachment.
Note: To deploy a model to a publications
channel, in SAS Management Console the publication channel must be
configured by a SAS Model Manager administrator to publish models
as archive (binary .SPK) files to a persistent store location. The
archive persistent store location is specified as a physical file
location, an FTP server, or an HTTP server.
The REPORT attribute
for a file element in a model template indicates whether SAS Model
Manager includes a file in the SAS package. You use the SAS Package
Reader or a file archiver and compression utility, such as WinZip,
to view the contents of the SPK file. SAS Model Manager provides SAS
macro programs to extract published models and deploy the models on
testing and production scoring servers.
By default, the SAS
package with the published model includes the following files:
|
|
|
input variables for
the model
|
|
output variables for
the model
|
|
target variable for
the model
|
|
SAS code to generate
the model
|
|
SAS code to map model
variables to project variables
|
|
URL address of inputvar.xml
|
|
URL address of outputvar.xml
|
|
|
The SAS package might
contain additional files, depending on the number of file elements
in the model template that have a REPORT attribute.
Note: The REF file contains the
URL address for a folder location in the Project Tree, such as
http://MMServer:8080/SASContentServer/repository/default/ModelManager/MMRoot/organizational folder/project/version/Models/model_name/code.sas.
These are the tasks
that you perform to use a published model: