MODEL HANDLE

MODEL HANDLE reads an external XML file or ZIP archive containing specifications for a predictive model. It caches the model specifications and associates a unique name (handle) with the cached model.

MODEL HANDLE NAME=handle FILE=’file specification’
 [/OPTIONS  [MISSING=[{SUBSTITUTE**}]] ]
                      {SYSMIS      }

 [/MAP  VARIABLES=varlist MODELVARIABLES=varlist  ]

**Default if the keyword is omitted.

This command takes effect immediately. It does not read the active dataset or execute pending transformations. See the topic Command Order for more information.

Syntax for the MODEL HANDLE command can be generated from the Scoring Wizard.

Release history

Release 13.0

  • Command introduced.

Example

MODEL HANDLE NAME=discrimmod1 FILE=’/modelfiles/discrim1.mml’.