After you create a project
and version, the next step is to import models into SAS Model Manager.
The
Models folder is the container for all
of the models under a version. After model evaluation, one of the
candidate models will become the champion model. However, the first
step is to import the candidate models into your version’s
Models folder.
SAS Model Manager provides
many methods of importing your SAS models into your project version:
Note:
-
Scorecard models can be imported
using the SAS Code Models local files method and the SAS Model Package
File import method.
-
HPFOREST procedure models can be
imported using the SAS Metadata Repository import and the SAS Model
Package File import. You cannot import PROC HPFOREST models using
local files.
-
High-Performance analytics models
that are not created with SAS Enterprise Miner can be registered to
the SAS Metadata Repository using the %AA_Model_Repository. These
models can then be imported to SAS Model Manager by importing the
models from the SAS Metadata Repository and from a SAS model package
file..
-
Before you import COUNTREG procedure
and SEVERITY procedure models, create the model score code using the
%MM_Countreg_Create_Scorecode macro and the %MM_Severity_Create_Scorecode
macro. After the score code is generated, you can use the %MM_Model_Register
macro or the local files method to import these models.
For more information,
see Macros for Generating Score Code.
-
SAS Model Manager cannot publish
models to a database whose
Score Code Type model
property is set to
SAS Program or
PMML.
-
When you import models using the
local file method, the table names that you specify as model components
must start with a letter or underscore, can contain a period, and
cannot be more than 32 characters long. Spaces or special characters
(for example, ~`!@#$%^&*()+={}[]|\\:;'<>?/")
are not valid in a table name.
For more information
about the types of model component tables, see Model Template Component Files.
-
Model component table variable
names must start with a letter or underscore, and cannot contain special
characters (for example, `~!@#$%^&*()-+=[]\{}|;:'",./<>?)
or spaces. Variables with special characters can be used in SAS Model
Manager only when the SAS Model Manager administrator has set the
Valid
Variable Name option to
Yes in
the SAS Management Console. For more information, see the
SAS
Model Manager Administrator’s Guide.
-
Unexpected results might occur
if you import a model that was previously exported using SAS Model
Manager. A best practice is to import models that were not previously
exported by SAS Model Manager.