Skip to main content


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

Database tables for monitoring models

Updated on July 5, 2022

Database tables contain monitoring information for adaptive and predictive models. This data is used to populate the charts in the Monitor tab of every model rule in Dev Studio and additional reports in the ActionsReports section of Prediction Studio.

The tables are transparently designed to contain monitoring data that you can easily use to create your custom reports in Pega Platform or any other reporting tool. Before you customize model reports to serve your business needs, learn what properties you can find in these tables.

For more information about how the Adaptive Decision Manager (ADM) service captures and populates that monitoring data, see Configuring the Adaptive Decision Manager service.

Properties in the PR_DATA_DM_ADMMART_MDL_FACT table

Properties with the py prefix are defined on the Data-Decision-ADM-ModelSnapshot class. The out-of-the-box data set which applies to this class is pyModelSnapshots.

PropertyDescription
pxApplicationThe name of the application.
pyAppliesToClassThe Applies To class of the Adaptive Model rule with which the model is associated.
pyModelIDA unique identifier for each model.
pyConfigurationNameThe name of the Adaptive Model rule with which the model is associated.
pySnapshotTimeThe time when the snapshot was taken.
pyIssueThe default model identifier that defines the model context in your application. For more information, see Model context.
pyGroupThe default model identifier that defines the model context in your application.
pyNameThe default model identifier. When the context of the models is different from the default hierarchy, this property contains the context values in the JSON format.
pyChannelThe default model identifier that defines the model context in your application.
pyDirectionThe default model identifier that defines the model context in your application.
pyTreatmentThe default model identifier that defines the model context in your application.
pyPerformanceThe performance of each ADM model.
pySuccessRateThe measure of the fraction or percentage of success among the total requests.
pyResponseCountThe number of all responses for each model.
pxObjClass The name of the class object.
pzInsKeyThe internal key to represent the object.
pxInsNameThe visible key of an instance.
pxSaveDateTimeThe time and date of the last save.
pxCommitDateTimeThe date and time when the commit occurred.
pyActivePredictorsThe number of active predictors for each model.
pyTotalPredictorsThe number of all predictors for each model.
pyNegativesThe number of negative responses for each model.
pyPositivesThe number of positive responses for each model.
pyModelDataThe compressed and encoded scoring model.
pyModelVersionA unique identifier for the model version. When a model is updated, it receives a new version identifier. Every decision also contains this model version, so if Full Auditability is enabled, you can use the model version to find the exact model used.
pyFactoryUpdatetimeThe time when the model factory was last updated.

Properties in the PR_DATA_DM_ADMMART_PRED table

Properties with the py prefix are defined on the Data-Decision-ADM-PredictorBinningSnapshot class. The out-of-the-box data set which applies to this class is pyADMPredictorSnapshots.

PropertyDescription
pxCommitDateTimeThe date and time when the commit occurred.
pxSaveDateTimeThe time and date of the last save.
pyModelIDA unique identifier for each model.
pxObjClass The name of the class object.
pzInsKeyThe internal key to represent the object.
pxInsNameThe visible key of an instance.
pyPredictorNameThe name of the predictor.
pyContentsThe overall range of the predictor.
pyPerformanceThe performance of the predictor.
pyPositivesThe number of positive responses for the predictor per model.
pyNegativesThe number of negative responses for the predictor per model
pyTypeThe type of predictor—numeric or symbolic.
pyTotalBinsThe number of bins for the predictor per model.
pyResponseCountThe number of responses for the predictor per model.
pyBinNegativesThe number of negative responses for the predictor per model in the bin.
pyBinPositivesThe number of positive responses for the predictor per model in the bin.
pyBinType

The type of bin:

Equibehavior
A bin type for the normal bins. Bin ranges have the same values within one bin.
Missing
A bin type for empty values.
Residual
A bin type for symbols that did not fit in any of the normal bins because, for example, they occur relatively infrequently. This bin type applies to symbolic fields.
pyBinNegativesPercentageThe percentage of negative responses in the bin out of all responses for the predictor.
pyBinPositivesPercentageThe percentage of positive responses in the bin out of all responses for the predictor.
pyBinSymbolThe actual range of the bin.
pyBinLowerBoundThe lower bound of the bin. This property applies to numeric predictors.
pyBinUpperBoundThe upper bound of the bin. This property applies to numeric predictors.
pyRelativeBinPositivesThe difference between the number of positive responses for the predictor in the bin that is measured per model and the number of positive responses for the predictor in the bin from the last snapshot.
pyRelativeBinNegativesThe difference between the number of negative responses for the predictor in the bin that is measured per model and the number of negative responses for the predictor in the bin from the last snapshot.
pyBinResponseCountThe total number of responses for the predictor in the bin that is measured per model.
pyRelativeBinResponseCountThe difference between the number of all responses for the predictor in the bin that is measured per model and the number of all responses for the predictor in the bin from the last snapshot.
pyBinResponseCountPercentageThe percentage of responses falling under a particular bin for a predictor that is measured per model.
pySnapShotTimeThe time when the snapshot was taken.
pyBinIndexAn index assigned to a predictor bin entry. For example, when a model contains the AGE predictor that has 10 bins, then we have 10 entries in the table and the pyBinIndex for each entry is: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
pyLiftBehavior in the predictor bin divided by the overall behavior.
pyZRatioThe number of standard deviations in the behavior of the predictor bin differs from the overall behavior.
pyEntryTypeAn indication whether it is an active or inactive predictor. Active predictors are the ones that are used by the model.
pyFeatureImportanceThe importance of the predictor to the model.

Properties in the PR_DATA_DM_BINARY_DISTRIBUTION table (binary outcome predictive models)

For binary outcome models, the count of the positives and negatives is stored in a granular set of bins which are used to calculate the AUC and the ROC curves. The score distribution and the observed responses overlay occur during training.

PropertyDescription
pxApplicationThe name of the application.
pyRulesetNameThe name of the ruleset to which the Predictive Model rule belongs.
pyRulesetVersionThe version of the ruleset to which the Predictive Model rule belongs.
pyModelIDA unique identifier for each model.
pyFactoryKeyA key that corresponds to the version information in the ADM factory data set (internal audit usage).
pySnapshotTimeThe time when the snapshot was taken.
pySnapshotIDAn identifier for the snapshot.
pyBinIDA unique identifier for each bin that is created.
pyBinLabelA label for each bin with ranges.
pyBinUpperThe upper boundary of the bin.
pyBinLowerThe lower boundary of the bin.
pyPredictorNameThe name of the predictor for which the statistic is stored.
pyCountThe total number of responses for the bin.
pyPositiveCountThe number of positive responses.
pyNegativeCountThe number of negative responses.
pyDataUsageThe stage of the model building process at which the data was derived—training, predicted, or observed.
pyMetricTypeThe metric type for the bin—binary distribution or side-by-side distribution.
pyBehaviorThe behavior of the bin, usually the percentage of positive responses.
pyPercentageThe percentage of responses in the bin.
pxObjClass The name of the class object.
pzInsKeyThe internal key to represent the object.
pxInsNameThe visible key of an instance.
pxSaveDateTimeThe time and date of the last save.
pxCreateDateTimeThe time and date when the record was created.
pxUpdateDateTimeThe time and date when the record was updated.
pxCommitDateTimeThe date and time when the commit occurred.

Properties in the PR_DATA_DM_CONTINGENCYTABLE table (categorical outcome predictive models)

For categorical outcome models, the confusion matrix of responses is the main statistic. Each cell in the confusion matrix is stored as a record in the database table.

The confusion matrix is used to calculate the performance values, such as the F-statistic for the model or the accuracy for the classes.

PropertyDescription
pxApplicationThe name of the application.
pyRulesetNameThe name of the ruleset to which the Predictive Model rule belongs.
pyRulesetVersionThe version of the ruleset to which the Predictive Model rule belongs.
pyModelIDA unique identifier for each model.
pyFactoryKeyA key that corresponds to the version information in the ADM factory data set (internal audit usage).
pySnapshotTimeThe time when the snapshot was taken.
pySnapshotIDAn identifier for the snapshot.
pyIdentifierAn identifier for the category combination.
pyBinLabelA label for each bin with ranges.
pyPredictedCategoryThe category at the make-decision time.
pyActualCategoryA category that was retrieved from the response.
pyDataUsageThe stage of the model building process at which the data was derived—training, predicted, or observed.
pyDistributionTypeThe type of distribution that is stored—residual values or actual values.
pyCountThe number of values that are observed in each bin.
pxObjClass The name of the class object.
pzInsKeyThe internal key to represent the object.
pxInsNameThe visible key of an instance.
pxSaveDateTimeThe time and date of the last save.
pxCreateDateTimeThe time and date when the record was created.
pxUpdateDateTimeThe time and date when the record was updated.
pxCommitDateTimeThe date and time when the commit occurred.

Properties in the PR_DATA_DM_HISTOGRAM table (continuous outcome models)

For continuous outcome models, the difference between the predicted outcome and the actual outcome is used to measure the performance. The distribution of these residual values is stored in bins of equal interval size. The Information that is gathered in the bins is used to calculate the root-mean-square error (RMSE) and mean absolute error (MAE) performance statistics for the model.

PropertyDescription
pxApplicationThe name of the application.
pyRulesetNameThe name of the ruleset to which the Predictive Model rule belongs.
pyRulesetVersionThe version of the ruleset to which the Predictive Model rule belongs.
pyModelIDA unique identifier for each model.
pyFactoryKeyA key that corresponds to the version information in the ADM factory data set (internal audit usage).
pySnapshotTimeThe time when the snapshot was taken.
pySnapshotIDAn identifier for the snapshot.
pyBinIDA unique identifier for each bin that is created.
pyBinLabelA label for each bin with ranges.
pyBinUpperThe upper boundary of the bin.
pyBinLowerThe lower boundary of the bin.
pyDataUsageThe stage of the model building process at which the data was derived—training, predicted, or observed.
pyDistributionTypeThe type of distribution that is stored—residual values or actual values.
pyCountThe total number of responses for the bin.
pyMinimumThe minimum value in the bin.
pyMaximumThe maximum value in the bin.
pyAverageThe average value in the bin. The minimum, maximum, and average values help describe the distribution of data in the bin.
pxObjClass The name of the class object.
pzInsKeyThe internal key to represent the object.
pxInsNameThe visible key of an instance.
pxSaveDateTimeThe time and date of the last save.
pxCreateDateTimeThe time and date when the record was created.
pxUpdateDateTimeThe time and date when the record was updated.
pxCommitDateTimeThe date and time when the commit occurred.

Properties in the PR_DATA_DM_SNAPSHOTS table (snapshot summary)

The monitoring information that is stored in the monitoring data mart contains data that is related to the same point in time; that collection of monitoring data is called a snapshot. This table contains one record per snapshot per model.

This information can be linked to data in other tables that contain more detailed, binned information that is used to calculate the performance statistics.

One-time model data may consist of the following details:

  • The number of responses in the snapshot
  • The performance of the model during the snapshot
  • The user that triggered the snapshot
PropertyDescription
pxApplicationThe name of the application.
pyRulesetNameThe name of the ruleset to which the Predictive Model rule belongs.
pyRulesetVersionThe version of the ruleset to which the Predictive Model rule belongs.
pyModelIDA unique identifier for each model.
pyFactoryKeyA key that corresponds to the version information in the ADM factory data set (internal audit usage).
pySnapshotTimeThe time when the snapshot is taken.
pySnapshotIDAn identifier for the snapshot.
pySnapshotDayThe day when the snapshot is taken.

This property is only applicable for the aggregated entries. For individual snapshots, the value for pySnapshotDay is empty.

Individual snapshots are captured when the agent runs the activity daily or when you click Refresh Data.

pyValueThe value of the (meta) property.
pyLabelThe label of the category.
pySnapshotTypeThe frequency of taking the snapshot—daily, weekly, monthly, and so on.

This property is only applicable for the aggregated entries. For individual snapshots, the value for pySnapshotType is empty.

pyDataUsage
  • The stage of the model building process at which the data was derived—training, predicted, or observed.
  • The type of group to which the snapshot belongs—Control or Test in case of predictions.
pyIdentifierThe identifier of the category for the snapshot.
pyNameThe name of the (meta) property.
pyDistributionTypeThe type of distribution that is stored—residual values or actual values.
pyCountThe total number of responses for the bin.
pxObjClass The name of the class object.
pzInsKeyThe internal key to represent the object.
pxInsNameThe visible key of an instance.
pxSaveDateTimeThe time and date of the last save.
pxCreateDateTimeThe time and date when the record was created.
pxUpdateDateTimeThe time and date when the record was updated.
pxCommitDateTimeThe date and time when the commit occurred.
pyPurposeThe model name for which the metric is being calculated, for example, PREDICTCHURN.
pyClassNameThe model class name for which the metric is being calculated, for example, DMORG-DMSAMPLE-DATA-CUSTOMER.
pyFieldNameThe predictor/output name for which the metric is being calculated, for example, propensity/Age.
pyFieldUsageSignifies whether the field is an input/output.

Properties in the PR_DATA_DM_DECISION_DISTRIBUTION

PropertyDescription
pyPurposeThe model name for which the metric is being calculated.
pyClassNameThe model class name for which the metric is being calculated.
pyFIeldNameThe field for which the metric is being calculated.
pySnapshotTimeThe time when the aggregated metric was generated.
pySnapshotTypeThe aggregation type: daily, weekly or monthly.
pySnapshotDayThe day on which the snapshot was taken.
pyModelTypeModel type.
pyIdentifierThe hash of purpose, classname, label, and fieldname.
pyDistributionTypeField is numeric/symbolic.
pyLabelBin label or the class label of the bin.
pyCountTotal count of values for daily/weekly/monthly.
pyRelativeCountCount of values for daily/weekly/monthly.
pyFieldUsageSignifies whether the field is an input/output.

Properties in the PR_DATA_DM_SUMMARIES table

PropertyDescription
pyModelIDThe ID of the model
pySnapshotDayThe day on which the snapshot was taken.
pySnapshotTimeThe time when the snapshot was taken.
pySnapshotTypeThe aggregation type: daily, weekly or monthly.
pyDataThe serialized object data.

Properties in the PR_DATA_DM_NOTIFICATION table

This table contains Prediction Studio notifications that inform about sudden drops in predictive performance, models with low performance, or other issues with models.

PropertyDescription
pzInsKeyThe internal key to represent the object.
pxObjClass The name of the class object.
pxInsNameThe visible key of an instance.
pxSaveDateTimeThe time and date of the last save.
pxCommitDateTimeThe date and time when the commit occurred.
pyLabelThe name of the model for which the notification is generated.
pyRulesetNameThe name of the ruleset to which the model rule belongs.
pyRulesetvVrsionThe version of the ruleset to which the model rule belongs.
pyNotificationTypeThe objective on which the notification is generated. For example, notifications can be based on Performance/Response count.
pxCreateDateTimeThe time and date when the record was created.
pxUpdateDateTimeThe time and date when the record was updated.
pyTriggerTimeThe time when the notification is generated.
pxCreateOperatorOperator ID.
pyConfigIDAn identifier that indicates the model insName or model ID for adaptive models.
pyContextThe values of model identifiers that define the model context for an Adaptive Model rule.
pyDescriptionThe notification message that is visible in the user interface.
pyModelIDA unique identifier of the model rule.
pyModelReferenceKeyA reference to the models of a single Adaptive Model rule.
pyModelTypeThe type of model for which the notification is generated (predictive or adaptive).
pyNotificationTypeIDA unique ID for each notification type.
pyPriorityThe priority for each notification type.
pyStatusThe status that indicates whether the user has read the notification.

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