You use the Local Files
method to import models that you create using SAS code, but that were
not created in or exported from SAS Enterprise Miner, and to import
R models. An example of a model might be a SAS LOGISTIC procedure
model, a SEVERITY model, or an R logistic model.
Note: HPFOREST models cannot be
imported using local files.
To use the Local Files
method, you must prepare model component files. Model component files
provide the metadata that is used to process a model in SAS Model
Manager. The model component files that you prepare are dependent
upon the project's model function. You can find the model function
in the project property
Model Function. The
SAS Model Manager model functions for SAS code models are analytical,
classification, prediction, segmentation or any. The model functions
for R models are analytical, classification, or prediction. For a
list of component files by model function,
see Model Template Component Files. If you do not have all of the component files when you
import the model, you can create them and add them later using the
SAS Model Manager Partial Import utility.
For more information,
see Import Partial Models.
After you have your
model component files, you use the
Local Files window
to import the component files. To open the
Local Files window,
right-click the
Models folder and select
Import fromLocal Files. In the
Local Files window,
you select a model template and assign values to the template model
properties and model files. The following display shows a partial
list of model templates that you can select in the
Local
Files window as well as the properties and files for
the Classification model template:
After you select your
model template, you complete the property values in the
General and
Properties section,
as well as enter your component filenames in the
Files section.
SAS code models, at
a minimum, require a score code component file, and other component
files to define the model input and output variables in SAS tables.
Prediction and classification models also require a component file
to define target variables.
R models, at a minimum,
require SAS and R score code component files, a file for the output
parameter estimate, and the other component files to define the model
input and output variables using either SAS data sets or XML files.
Prediction and classification models also require a component file
to define target variables.