Import a PMML Model

Predictive Modeling Markup Language (PMML) is an XML-based standard for representing data mining results. PMML is designed to enable the sharing and deployment of data mining results between vendor applications and across data management systems. You can import PMML models that are produced by using other applications. PMML 4.2 (or later) is supported. Models that are created using PMML 4.2 support DATA step score code.
Note: If your PMML model contains variable names with blanks or special characters other than underscores, you must set the system option VALIDVARNAME=ANY to perform tasks such as scoring tests, performance monitoring, and reporting that use the score.sas file. For information about setting the VALIDVARNAME=“ANY”, see Valid Variable Name Options in SAS Model Manager: Administrator’s Guide.
For more information, see PROC PSCORE and PMML Support. If you have a license for SAS Enterprise Miner, see the topic “SAS Enterprise Miner PMML Support” in the product Help or in SAS Enterprise Miner: Reference Help available at http://support.sas.com/documentation/onlinedoc/miner/.
Note: PMML variables must be valid SAS variable names and cannot contain more than 20 characters. In addition, SAS Model Manager does not support the importing of a PMML file that contains multiple models.
To import a PMML model:
  1. Click Import model and select from a PMML file.
    Import Model from PMML File
  2. On the Browse tab, click Select a Model and navigate to the location of the file. Select the file to import and click Open.
  3. Enter a name for the model.
  4. Click OK.
Last updated: February 14, 2017