filename file1 catalog 'sashelp.modelmgr.accessmacros.source'; %include file1; filename file1; filename file2 catalog 'sashelp.modelmgr.mdlmgr_addfolder.source'; %include file2; filename file2; filename file3 catalog 'sashelp.modelmgr.mdlmgr_addproject.source'; %include file3; filename file3; filename file4 catalog 'sashelp.modelmgr.logtrace.source'; %include file4; filename file4; filename file5 catalog 'sashelp.modelmgr.mdlmgr_addversion.source'; %include file5; filename file5; filename file6 catalog 'sashelp.modelmgr.mdlmgr_setproperty.source'; %include file6; filename file6;
%mdlmgr_AddFolder(ParentId=, Name=, Desc=, NewFolderId=, Trace=); %mdlmgr_AddProject(ParentId=, Name=, Desc=, ModelFunction=, InputVarTable=, OutputVarTable=, NewProjectId=, Trace=); %mdlmgr_AddVersion(ParentId=, Desc=, NewVersionId=, Trace=); %mdlmgr_SetProperty(FolderId=, Table=, PropertyType=, FolderType=, Trace=);
NewProject=projectId
,
the variable name projectId is used to create the global macro variable
%projectId. The &projectId macro reference can now be used as
the value of the ParentId= argument in the %mdlmgr_AddVersion( ) macro, ParentId=&projectId
.
The same macro reference can be used as a value for the FolderId=
argument in the %mdlmgr_SetProperty( ) macro, FolderId=&projectId
.
:sas-libraries
,
must be lowercase. For more information, see Specifying Data Sets.
Property Name
|
Property Name As It
Appears in the SAS Model Manager
|
Valid Values
|
||||||||
---|---|---|---|---|---|---|---|---|---|---|
ClassificationRole
|
Output Event Probability
Variable
|
A text string that specifies
the output event probability variable.
Set for a project with
a model function of classification.
|
||||||||
ClassTargetEvent
|
Class Event Value
|
A number that represents
the target event value.
Set for a project.
|
||||||||
ClassTargetEventValues
|
Class Target Values
|
A text string that represents
the class target values.
Set for a project.
|
||||||||
ClassTargetLevel
|
Class Target Level
|
One of the following
text strings:"BINARY", "NOMINAL", "ORDINAL",
or "INTERVAL"
Set for a project.
|
||||||||
ClassTargetVar
|
Training Target Variable
|
A text string that indicates
the training target variable
Set for a project.
|
||||||||
EventProbabilityRole
|
Output Event Probability
Variable
|
A text string that specifies
the output event probability variable.
Specify this property
only if you specify the outputVarTable= argument in the %mdlmgr_AddProject(
) macro. The value of EventProbabilityRole must be a variable in the
project output table.
Set for a project.
|
||||||||
Function
|
Model Function
|
A text string that specifies
the model function. Valid values are "CLASSIFICATION", "PREDICTION",
"SEGMENTATION", and "ANALYTICAL".
Set for project,
|
||||||||
InterestedParty
|
Interested Party
|
A text string that specifies
a person or group that has an interest in the project.
Set for a project.
|
||||||||
MetadataLock
|
Lock Project Metadata
|
Specify "YES"
or "NO" to indicate whether the project metadata is locked.
Set for a project.
|
||||||||
PredictionRole
|
Output Prediction Variable
|
A text string that specifies
the output prediction variable.
Set for a project with
a model function of prediction.
|
||||||||
ScoreInputDS
|
Default Scoring Input
Table
|
The default scoring
test input table in the form libref.table.
Set for projects and
versions.
|
||||||||
ScoreOutputDS
|
Default Scoring Output
Table
|
The default scoring
test output tablet in the form libref.table.
Set for projects and
versions.
|
||||||||
SegmentRole
|
Output Segmentation
Variable
|
A test string that specifies
the output segmentation variable.
Set for a project with
a model function type of segmentation.
|
||||||||
State
|
State
|
Select one:
Set for a project.
|
||||||||
TestDS
|
Default Test Table
|
The default test table
in the form libref.table.
Set for projects and
versions.
|
||||||||
TrainDS
|
Default Train Table
|
The default train table
in the form libref.table.
Set for projects and
versions.
|
data HMEQProp; length name $20; length value $40; input name value; datalines; TestDS MMLIB.HMEQ_TEST ScoreInputDS MMLIB.HMEQ_SCORE_INPUT ScoreOutputDS MMLIB.OUTPUT TrainDS MMlib.HMEQ_TRAIN ClassTargetEvent 1 ClassTargetLevel BINARY EventProbabilityRole SCORE ClassTargetVar BAD ; run;