Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Deleting adaptive models

Updated on April 5, 2022

Use the Call instruction with the DSMPublicAPI-ADM.pxDeleteModelsByCriteria activity to delete all adaptive models that match the criteria defined by the parameters. You can use this method to set up an activity to regularly delete the models that you do not need.

  1. Create an instance of the Activity rule by clicking Records ExplorerTechnicalActivity.
  2. In the activity steps, enter the Call DSMPublicAPI-ADM.pxDeleteModelsByCriteria method.
  3. Click the arrow to the left of the Method field to expand the method and specify its parameters.
  4. Optional: Select a check box to the right of a parameter to enable it.
    Note: You can point to individual parameters to view a tooltip with more information.
    • Also delete from the ADM data mart - Delete the corresponding models stored in the data mart.

    • Select by number of responses - Delete the models with a specific number of responses, for example, >= 1000, !=0, or >50.

    • Select by performance - Delete the models with a specific performance, for example, =100, or <50.

      Model performance is expressed in Area Under the Curve (AUC), which has a range between 50 and 100. High AUC means that the model is better at predicting an outcome, low AUC means the outcome is not predicted well.

    • Select by rule name - Delete the models that were created by the specific adaptive model configuration.

    • Select by class - Delete the models that were created by the adaptive model configuration in the specified class.

    • Select by issue - Delete all models that were created for a specific issue in the action dimension.

    • Select by group - Delete all models that were created for a specific group in the action dimension.

    • Select by name - Delete all models that were created for a specific proposition in the action dimension.

    • Select by direction - Delete all models that were created for a specific direction in the channel dimension.

    • Select by channel - Delete all models that were created for a specific channel in the channel dimension.

    • Number deleted - An output parameter that you can use to pass the number of models deleted when you run the activity.

    Note: Rule name, class, parameters that correspond to the action dimension, and parameters that correspond to the channel dimension always take the value of the corresponding configuration parameters. When these parameters are enabled, an empty value is interpreted as a wildcard.
  5. Click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us