The
Publish
Scoring Function of SAS Model Manager enables you to
publish models that are associated with the
Data Step score
code type to a configured database. When you publish a scoring function
for a project, SAS Model Manager exports the project's champion model
to the SAS Metadata Repository. The SAS Scoring Accelerator then creates
scoring functions in the default version that can be deployed inside
the database based on the project's champion model score code. The
scoring function is validated automatically against a default train
table to ensure that the scoring results are correct. A scoring application
or SQL code can then execute the scoring functions in the database.
The scoring functions extend the database's SQL language and can be
used in SQL statements like other database functions.
The Scoring Function
metadata tables are populated with information about the project and
pointers to the scoring function. This feature enables users to review
descriptions and definitions of the exported model. The audit logs
track the history of the model's usage and any changes that are made
to the scoring project.
The Publish Scoring
Function also creates a MiningResult metadata object that is stored
in the SAS Metadata Repository. A typical use of a MiningResult object
is to serve input and output metadata queries made by scoring applications
at the design time of application development.
Here
is a diagram that represents the relationship between SAS Model Manager
and SAS Model Manager In-Database Support.
Here are descriptions
of the diagram's components.
The SAS Model Manager
Client handles communication to and from SAS Model Manager. You use
the SAS Model Manager Client to create projects and versions, import
models, connect with data sources, validate models, run modeling reports,
run scoring tasks, set project status, declare the champion model,
and run performance tests.
SAS Model Manager Middle Tier Server
The SAS Model Manager
Middle Tier Server is a collection of services that are hosted by
an application server that orchestrates the communication and movement
of data between all servers and components in the SAS Model Manager
operational environment.
SAS Web Infrastructure Platform
The SAS Web Infrastructure
Platform (or WIP) is a collection of middle tier services and applications
that provides basic integration services. It is delivered as part
of the Integration Technologies package. As such, all Business Intelligence
applications, Data Integration applications, and SAS Solutions have
access to the Web Infrastructure Platform as part of their standard
product bundling.
The SAS Model Manager
model repository and SAS Model Manager window tree configuration data
and metadata are stored in the SAS Content Server. Communication between
SAS Model Manager and the SAS Content Server uses the WebDAV communication
protocol.
SAS Model Manager retrieves
metadata about models from the SAS Metadata Server.
The SAS Model Manager
Server is a collection of macros on the SAS Workspace Server that
generate SAS code to perform SAS Model Manager tasks.
The SAS Scoring Accelerator
creates scoring functions that can be deployed inside a database.
Scoring functions are based on the project's champion model score
code.
The relational databases
in the database management system (DBMS) serve as output data sources
for SAS Model Manager.
These tables contain
metadata, and the tables serve as data sources in SAS Model Manager.
These database tables
in relational databases serve as data sources for a scoring application.