Publishing Models from a Portfolio

About Publishing Models

To publish the champion models and challenger models for projects within a portfolio, you must have already set the models that you want to publish as project champion models or challengers. SAS Model Manager examines the projects and always publishes the champion models. When the champion model for a project changes and you publish the model again to the same location, the scoring application automatically uses the latest score code. In the Portfolios category view, when you select a portfolio, you only can publish the project champion models to the SAS Metadata Repository. When you open a portfolio, the Projects page offers you the option of publishing a project champion model and its challengers to the SAS Metadata Repository, a SAS Channel, and to a configured database or Hadoop.
Note: SAS Model Manager cannot publish R models. SAS analytic store models within a project segment can be published only to Hadoop and Teradata. Publishing SAS analytic store models to the SAS Metadata Repository is not supported.
To verify that a champion model has been assigned to all of the projects within a portfolio that you want to publish. Open a project and select Propertiesthen selectSpecific. The Champion version property contains the name of the champion version. For more information, see Champion Models.

Publishing Project Champion Models

In the Portfolios category view, you can publish the champion models for projects within a portfolio to the SAS Metadata Repository.
To publish champion models for projects in a portfolio:
  1. Select a portfolio and click Publish Models.
    Publish Models to SAS Metadata Repository
  2. Select one or more champion models that you want to publish from the models list.
  3. Click Browse and select the location to publish the model to.
  4. Click Publish.
  5. Click Close in the confirmation message.
Note: Alternatively, you can right-click a portfolio and select Publish.

Publish Champion and Challenger Models

Publish to the SAS Metadata Repository

  1. Open a portfolio and select the Projects page.
  2. Select a project and click Publish Model.
  3. Select SAS Metadata Repository from the publish destination list.
    Publish Models to the SAS Metadata Repository
  4. Specify a Publish Name for the challenger models. The publish name for a champion model cannot be modified.
  5. Click Browse and select the location to publish the model to.
  6. Click Publish.

Publish to a SAS Channel

  1. Open a portfolio and select the Projects page.
  2. Select a project and click Publish Models.
  3. Select SAS Channel from the publish destination list.
    Publish Models to a SAS Channel
  4. Select the model that you want to publish from the models list.
  5. (Optional) Click More Options to specify a message subject, notes, and user-defined properties. Click Save.
  6. Click Publish.

Publish to a Database

  1. Open a portfolio and select the Projects page.
  2. Select a project and click Publish Models.
  3. Select a database from the publish destination list.
    Publish Models to a Database
  4. Select a publish method.
  5. Select one or more models that you want to publish from the models list.
    Note: SAS analytic store models can be published only to Hadoop and Teradata.
  6. Specify a Publish Name for each model.
    Note: The default format of the publish name is configured by the SAS administrator.
  7. (Optional) Select whether to Replace scoring files that have the same publish name.
  8. Specify an identifier to add to the database target table for each model.
  9. (Optional) Select whether to Validate scoring results. If selected, click Browse to navigate to the appropriate train table.
  10. Specify the database settings.
  11. Click More Options to specify other options for the database.
  12. Click Publish.

Remove Published Models from a Database

The SAS Embedded Process publish method enables you to replace the model scoring files, but the scoring function publish method publishes the model as a separate entry in the database each time. If you modify the previously published models or change the champion model or challenger models, the Remove Models from a Database feature enables you to remove the previously published models, so that you can clean up the test or production database.
To remove models from a database:
  1. Open a portfolio and select the Projects page.
  2. Select a project, and click Remove published models.
  3. Specify the database settings and click Log On.
  4. Select the models that you want to remove from the database.
  5. Click Remove Models. A warning message appears.
  6. Click Yes.
Last updated: June 12, 2017