SAS Model Manager uses
SAS Publishing Framework to publish models to defined channels. SAS
Model Manager creates a SAS Package file (SPK) for the model in a
publication channel. Authorized users who subscribe to the channel
can choose to receive e-mail notifications when updated models are
ready to deploy to testing or production scoring servers and when
the SPK file is published to a publication channel. Then you can extract
and validate the scoring logic, deploy champion models to a production
environment, and monitor the performance of your models.
To publish a model
to a channel, follow these steps:
-
Expand
Loan2012 and
right-click the
Models folder. Then select
Publish
to a SAS Channel. The
Publish to a SAS Channel window
appears.
Tip
You can publish models from
the organization, project, version, or
Models folder
in the Project Tree.
-
Select a publication
channel from the
Channel list.
Note: The channel values for
Description,
Subject,
and
Subscribers are defined in the SAS Metadata
Repository with SAS Management Console.
-
Select
Tree
1 as the model to publish in the
Select Entries
to Publish table. SAS Model Manager lists all of the
models in the version folder. To view the entire folder name, expand
the ID column heading. Click
Next.
-
Specify an optional
subject line for the e-mail message in the
Message Subject box.
For this example, enter
Publish champion model
.
By default, SAS Model Manager uses the value that is defined in the
publication channel. If you omit the subject line, then the name of
the published model is used.
-
In the
Notes box
include information about the model that might be useful to other
users who are involved with the project. For this example, enter
Loan
project for 2012
.
-
Click
Finish.
The information dialog box appears and provides information about
whether SAS Model Manager successfully published the model. Click
Details to
display a log of the publication process and any messages.
-
-
To view the publish
history, select the
2012 version in the
Loan project,
and select the Publish History tab. Select an item from the list to
view the publish details.
The SAS package that
is sent to the publication channel contains the model input, model
output, SAS code, and its properties. You can submit a SAS DATA step
program that calls the SAS Publish API (Application Programming Interface)
to extract and deploy the model to a testing or scoring server. SAS
Model Manager also provides a SAS macro program, called MM_GetModels,
that extracts the SAS code and metadata to score the model. Typically,
extracted files are placed on a local drive of the scoring server
that is used to deploy the published model. For more information,
see the
SAS Model Manager: User's Guide.