If you want to monitor the performance of a model for which you no longer have the
score code, you can import a model without SAS score code. If the
performance data set contains the
predicted values, the score.sas file can be empty.
To monitor the performance of a model without score code:
-
Prepare the following
model files:
-
-
-
-
empty SAS score code file (score.sas)
-
Select
ModelsProjects
-
Create a project that has a
model function type of
Classification or
Prediction.
You can skip this step if you have already created a project.
-
Open a project and verify
that the project properties are set.
-
If it is a project that has a model function property value of
Classification,
verify that the following project properties are set:
-
-
Target event value (for example, 1)
-
-
Output event probability variable
(for example, score
)
-
If it is a project that has a model function property value of
Prediction,
verify that the following project properties are set:
-
Training target variable (for example, lgd)
-
Class target level as Interval
-
-
-
Click
and select
from local files.
-
Navigate to the folder
on your computer that contains the component files for your model.
-
Select a classification or prediction
template from the
Choose a model template list.
-
Enter a text value in
the model Name field.
-
Click Properties and
specify the model properties.
-
Click
Files and select the local files from the SAS Workspace Server that match the template
files. You cannot delete a file after you have added it. To replace the file, select
another file or cancel the import and start over. The following files are required:
-
-
Open the model and set
the model-specific properties. The value for the Score
code type property must be set to DATA step or Analytic
store.
-
Expand
Variables and
select
Output Mapping in order to set the output
variable mappings for the model. Select a value for each variable and click
.
-
Click
to close the model.
-
-
Before defining performance, verify that the performance data set is registered in
the SAS Metadata Repository and is available in the
Data category view. Make sure that the
data set contains the following variables:
-
model input variables
Note: You must have the variable
columns in the table, but the values can be missing.
-
-
-
-
Edit a project’s
performance definition on the
Performance page. Specify the performance data set that contains the predicted values. Also,
be sure to clear the
Run model score code option
for the
Data Processing Method section of
the
Edit Performance Definition wizard.
For more information,
see Edit and Execute a Performance Definition.