---
schema_version: "1"
id: 447f738f3ed86ba6f18d05acfda784460fe09ed6ff1a85c30fcc764262b9414e
title: Training and Scoring Options for Personalized Loyalty Promotions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/loyalty_personalized_promotions_scoring_options.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.loyalty_personalized_promotions_scoring_options.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bfef5ba2060efdbdd816cdfcf8ab21df26747e9194df463745382b9109a66ce4
description: Reference the configuration options for setting up data, defining model parameters, and configuring debug settings when creating a Scoring Framework template configuration for Personalized Promotions.
products:
  - Loyalty Management
release: "264"
---
# Training and Scoring Options for Personalized Loyalty Promotions

Reference the configuration options for setting up data, defining model parameters, and configuring debug settings when creating a Scoring Framework template configuration for Personalized Promotions.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with Loyalty Management and Data Cloud</td></tr></tbody></table>

## Set Up Your Data

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:75%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60058e75">Option</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60058e78">Details</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Select Data Space</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">Required. Select the Data 360 data space that the template configuration reads
              from and writes data to.</td>

          </tr>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Select Grain Data Model Object</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">
              <p>Required. Select the data model object that contains the data that the model
                trains on. The batch data transform uses this raw data to derive the fields
                required for training.</p>
              <p style="margin-bottom:0;">Only the Loyalty Transaction Journal object is supported.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Select the Promotion</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">Required. Select the promotion that the template configuration generates
              personalized targets for. Then, enter a default prediction value. The system uses
              this value whenever the model predicts zero or a number below this default.</td>

          </tr>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Select Loyalty Program and Non-Qualifying Currency</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">Select the loyalty program and non-qualifying currency associated with the
              promotion. If the promotion isn't associated with a loyalty program, skip this
              option. These values are only for information purposes and aren't used for training
              or prediction.</td>

          </tr>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Select Products or Categories</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">Select the products or categories to predict targets for.</td>

          </tr>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Select Customer Segments</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">Restrict training and prediction to members of up to five segments. Salesforce
              generates predictions only for members in the selected segments.</td>

          </tr>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Set Training Duration</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">Required. Select how many months of historical transaction data the model must
              train on. We recommend that you use a training period long enough to capture
              seasonal patterns relevant to the promotion.</td>

          </tr>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Set Aggregation Duration and Seasonality</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">Define a specific timeframe to capture seasonal behavior for predicting
              upcoming customer activity. For example, if you want to create a promotion for the
              month of December and want to capture seasonal behavior for predictions, select
              Monthly and December.</td>

          </tr>
          <tr class="">
            <td data-label="Option" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e75 ">Filter Training and Scoring Data Model Objects</td>

            <td data-label="Details" class="slds-cell-wrap" style="vertical-align:top;" headers="d60058e78 ">Apply filter conditions to the training and scoring datasets. You can apply the
              same filters to both datasets or define separate filters for each. The filtered
              training dataset requires at least 400 records for the model to train.</td>

          </tr>
        </tbody>
      </table>

## Define Parameters

 
| Option | Details |
| --- | --- |
| Define Target Variable | Select whether the model must predict the purchase amount or quantity. If you don't select a value, the model predicts the purchase amount. |
| Select Features | Select up to 15 additional fields the model uses as prediction inputs. By default, the Scoring Framework trains the model on 5 default features: average transaction value, purchase transaction count, and the member's last three interval purchase measures. |
| Set Conditional Scores | Set the percentages of a member's predicted purchase amount or quantity that become their Easy, Moderate, and Hard targets. For example, if a member's predicted purchase amount is $100 and the percentages are set to 60%, 75%, and 90%, the resulting targets are $60, $75, and $90. |

## Configure Debug Settings

Turn on Save Assets to retain app assets even if the installation fails. These assets are useful for troubleshooting.