Add a Model in a Web Browser Client

This procedure describes how to add a new model in to the Spectrum Analytics Scoring Repository and make the model available for deployment in a Spectrum Technology Platform dataflow.

  1. Using the View Models procedure, navigate to the Analytics Scoring Repository page.
  2. Click the Publish a model button to navigate to the Add new model page.
    The Publish a model button is disabled if any models are selected in the current page of the model table. In this case, clear all selections to enable the button.
  3. On the Add new model page, enter the name of the new model in the Name box.
    Model names must be unique. If a model name is already in use by another model currently stored in the Analytics Scoring Repository, the text box will be highlighted with a validation error.
    Note:
    • White space at the start or end of a model name is always removed. This means if the name entered is already in use, adding white space to the start or end of the name will not resolve the error.
    • Model names are case sensitive. Models can share the same name so long as they have different uppercase and lowercase characters. For example models named "my Model", "my model" and "mY ModEl" can co-exist simultaneously within the repository.
    • Name validation only detects conflicts against the contents of the Analytics Scoring Repository when the page was opened. This means if the repository has changed since navigating to the Add new model page, for example, models have been added or deleted by other users, then the page validation will not have these changes. However, after you click the Publish button, the new model will be re-validated against the up-to date version of the Analytics Scoring Repository .
  4. Enter a meaningful description for the new model in the Description box.
    This field is required. Models must have a description.
  5. Click Choose file button select a model definition stored in either QMML or PMML file formats.
    Note:
    • The selected model must be less than 50MB in size.
    • When using an older browser that does not support file picking, the XML model definition must be input into the text area labeled Upload model.
    • If the selected model is a QMML model, the QMML must have at least one compiled live ruleset for the model to be successfully published. In the case where there are multiple compiled live rulesets the first such ruleset found within the QMML will be used for the model definition.
    • If you wish to compile and/or change the live status of rulesets within your QMML (or add or delete rulesets), you can use the Spectrum Miner qsqmmledit command-line utility within your Spectrum Miner installation. Help for the utility can be displayed in your command window by entering qsqmmledit.exe -help.
  6. Click the Publish button to begin uploading the model to the Analytics Scoring Repository .
    The model definition is only validated after you complete this step.
  7. Wait while the busy icon is shown on the Publish button.
    The Cancel button is disabled and no changes can be made on the Add new model page while the model is being published. Once the model has been successfully published to the Analytics Scoring Repository, the application will navigate to the Details page for the new model.
    Note: If a problem is encountered while publishing the model, for example, the XML model definition is invalid or the model name is already in use, then the model will not be published and an error message will be displayed detailing the problem. Click OK to close the error message, and correct the problem before attempting to publish the model again.