All Products
Search
Document Center

Artificial Intelligence Recommendation:Custom metric configuration

Last Updated:Sep 09, 2024

Metric configuration

You can configure and manage metrics on the Metric Configurations page of the PAI-Rec console. To access this page, choose Metric Management > Metric Configuration in the left-side navigation pane.

Add a metric

On the Metrics tab of the Metric Configurations page, click Create to add metrics. You can add metrics by copying existing metrics or specifying custom metrics.

When you add a metric, you need to specify the following parameters: Registration Data Table, Metric Name, Recommendation Scenario, Description, Metric Definition, Metric Timeliness, Statistical Period, and Statistical Result Write-back. You must select a data table for which data registration and field configuration have been completed from the Registration Data Table drop-down list.

If you want to store experiment results in your Hologres table, you must select Write Back to Hologres Table for the Statistical Result Write-back parameter.

Otherwise, you can select Store and Update without Write-back. After the settings are complete, click Save.

image.png

Modify a metric

The metrics you added are displayed in the metric list. You can filter metrics by Recommendation Scenario and Metric Timeliness. You can click Details in the Actions column of a metric and then click Modify in the panel that appears to modify the parameters of the metric. After the modification is complete, click Save.

Calculate a metric

In the Actions column of a metric, you can click Calculate and create a calculation job to calculate the metric. You need to specify the Time Window parameter and select one or more metrics for calculation.

image.png

Delete a metric

If a metric is deprecated, you can click Delete in the Actions column of the metric to delete it. The deleted metric cannot be restored. Proceed with caution.

Metric group

You can group the metrics in a scenario to perform tasks such as metric calculation by metric group.