Model Type
|
Description
|
---|---|
Analytical
|
The Analytical model
template is the most generic template that is designed for models
whose model function does not fall in the prediction, classification,
and segmentation category.
|
Classification
|
You use the Classification model
template if your model is a prediction model that has a categorical,
ordinal, or binary target, or if your model is a LOGISTIC procedure
regression model. Examples of classification models are models that
might classify a loan applicant as Approved or Not Approved, or models
that might assess a potential customer's risk of default as Low,
Medium, or High.
|
Prediction
|
The Prediction model
template is used for predictive models. Predictive models declare
in advance the outcome of an interval target. A model that assigns
a numeric credit score to an applicant is an example of a prediction
model.
|
Segmentation
|
The Segmentation model
template is used for segmentation or cluster models that are written
in SAS code. Segmentation models are unsupervised models that have
no target variable. A segmentation or cluster model is designed to
identify and form segments, or clusters, of individuals or observations
that share some affinity for an attribute of interest. The output
from a segmentation model is a set of cluster IDs. R models cannot
have segmentation model function.
|
Filename
|
Analytical
|
Classification
|
Prediction
|
Segmentation
|
---|---|---|---|---|
—
|
|
—
|
—
|
|
—
|
|
—
|
—
|
|
—
|
|
—
|
—
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
—
|
|
|
—
|
|
|
|
|
|
|
|
|
|
|
|
—
|
|
|
—
|
|
|
|
|
|
|
—
|
|
—
|
—
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
—
|
|
|
|
|
—
|
|
|
|
|
|
|
|
|
|
—
|
|
—
|
|
|
—
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
—
|
|
|
|
|
—
|
|
|
|
|
—
|
|
|
|
|
—
|
|
—
|
|
|
—
|
|
—
|
|
|
—
|
|
—
|
|
|
—
|
|
—
|
|
|
—
|
data mydir.target; set mydir.myModelTraining (obs-1) keep P_BAD; run;
<?xml version="1.0" encoding="utf-8"?> <TABLE> <VARIABLE> <NAME>CLAGE</NAME> <TYPE>N</TYPE> <LENGTH>8</LENGTH> <LABEL Missing=""/> <FORMAT Missing=""/> <LEVEL>INTERVAL</LEVEL> <ROLE>INPUT</ROLE> </VARIABLE> </TABLE>
<?xml version="1.0" encoding="utf-8"?> <TABLE> <VARIABLE> <NAME>I_BAD</NAME> <TYPE>C</TYPE> <LENGTH>12</LENGTH> <LABEL>Into: BAD</LABEL> <FORMAT Missing=""/> <LEVEL>NOMINAL</LEVEL> <ROLE>CLASSIFICATION</ROLE> </VARIABLE> </TABLE>
<?xml version="1.0" encoding="utf-8"?> <TABLE> <VARIABLE> <NAME>BAD</NAME> <TYPE>N</TYPE> <LENGTH>8</LENGTH> <LABEL>Missing=””/> <FORMAT Missing=""/> <LEVEL>BINARY</LEVEL> <ROLE>TARGET</ROLE> </VARIABLE> </TABLE>
Property Name
|
Description
|
---|---|
Name
|
Identifies
the name of the template. This property is required. The characters @ \ / * % # & $ ( ) ! ? < > ^ +
~ ` = { } [ ] | ; : ‘ " cannot be used in the name.
|
Description
|
Specifies user-defined
information about the template.
|
Type
|
Specifies the type of
the model. SAS Model Manager
supports the following model types:
Analytical Model
specifies the type
of model that is associated with the Analytical model function.
Classification Model
specifies the type
of model that is associated with the Classification model function.
Prediction Model
specifies the type
of model that is associated with the Prediction model function.
Clustering Model
specifies the type
of model that is associated with the Segmentation model function.
|
Tool
|
Specifies a text value
that describes which tool is used to produce this type of model.
|
Validate
|
Indicates that SAS Model Manager
verifies that all of the required files are present when users try
to import a model. If validation fails, the model will not be successfully
imported.
|
Display
name
|
Specifies a text value
that is displayed as the name of the model template.
|
Score code
type
|
Specifies whether the
imported model score code runs by using a DATA Step fragment, SAS
Program code, or PMML.
|
Property Name
|
Definition
|
---|---|
Name
|
Identifies the name
of the file. This property is required.
|
Description
|
Specifies user-defined
information about the file.
|
Required
|
When it is selected,
indicates that the file is a required component file of the model
that must be imported before using the model.
|
Report
|
When it is selected,
indicates that the file is to be included in a SAS package file when
a model is published to a channel.
|
Type
|
Specifies a file whose
type is text or binary.
|
Fileref
|
Specifies an eight-character
(or fewer) SAS file reference to refer to this file in score.sas code.
The fileref is assigned by SAS Model Manager when a
SAS job is submitted.
|
Property Name
|
Description
|
---|---|
Name
|
Identifies the name
of the property. This is a required field.
|
Description
|
Specifies user-defined
information about the property.
|
Type
|
Specifies a property
whose type is String or Date.
|
Edit
|
Indicates that the property
can be modified when importing a model or after the model is imported.
|
Required
|
Indicates that the property
is required.
|
Initial
value
|
Specifies a text string
for the initial value for the property.
|
Display
name
|
Specifies a text value
that is displayed as the name of the property.
|
Property Name
|
Description
|
---|---|
Default
scoring input table
|
Specifies a default
SAS data set that is used as the input data table for all of scoring
tests within the project. The model's Default scoring
input table property inherits the property value from
the associated version or project, if one is specified.
|
Default
scoring output table
|
Specifies a default
SAS data set that defines the variables to keep in the scoring results
table and the scoring test output table. The model's Default
scoring output table property inherits the property value
from the associated version or project, if one is specified.
|
Default
performance table
|
Specifies the default
performance table for all model performance monitoring tasks within
a project.
A model's Default
performance table property inherits the property value
from the associated version or project, if one is specified. If you
do not specify a performance table, some of the monitoring reports
might not be enabled.
|
Default
train table
|
The train table is optional
and is used only as information. However, when a value is specified
for a model's Default train table property.
|
Expiration
date
|
Specifies a date property
by which the selected model is obsolete or needs to be updated or
replaced. This property is for informational purposes and is not associated
with any computational action. This property is optional.
|
Model label
|
Specifies a text string
that is used as a label for the selected model in model assessment
charts. If no value is provided for the Model Label property,
the text string that is specified for the Model Name property
is used. The Model Label property can be
useful if the Model Name property that is specified is too long for
use in plots. This property is optional.
|
Subject
|
Specifies a text string
that is used to provide an additional description for a model, such
as a promotional or campaign code. This property is for informational
purposes and is not associated with any computational action. This
property is optional.
|
Algorithm
|
Specifies the computational
algorithm that is used for the selected model. This property cannot
be modified.
|
Function
|
Specifies the function
class that was chosen when the associated project was created. The Function property
specifies the type of output that models in the predictive model project
generate.
|
Modeler
|
Specifies the Modeler
ID or, when Modeler ID is missing, specifies the user ID of the individual
who created the model that is stored in the SPK file for SAS Enterprise
Miner models. Otherwise, the modeler can be specified during model
import for local files.
|
Tool
|
Specifies whether the
imported model came from SAS Enterprise Miner or from other modeling
tools.
|
Tool version
|
Specifies the version
number of the tool that is specified in the Tool property.
|
Score code
type
|
Specifies whether the
imported model score code is a DATA step fragment, ready-to-run SAS
code, or a PMML file. Valid values are DATA step, SAS
Program, and PMML.
Note: If the model is created using
PMML 4.0, the Score Code Type is DATA
step and not PMML.
Note: SAS Model Manager cannot
publish models to a database whose Score Code Type model
property is set to SAS Program and PMML.
|
Template
|
Specifies the model
template that was used to import the model and to create pointers
to its component files and metadata.
|
Copied from
|
Specifies where the
original model is if this model is copied from another model repository.
|
Target variable
|
Specifies the name
of the target variable for a classification or prediction model. This
property can be ignored for segmentation, cluster, and other models
that do not use target variables. For example, if a model predicts
when GENDER=M, then the target variable is GENDER.
|
Target event
value
|
Specifies a value for
the target event that the model attempts to predict. This property
is used only when a value is specified for the Target
Variable property. For example, if a model predicts when
GENDER=M, then the target event value is M.
|