> ## Documentation Index
> Fetch the complete documentation index at: https://help.experro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Algorithm

Use this page to fine-tune how Experro’s AI recommendation algorithms behave for each widget. You can select or swap models, adjust training cadence, weight user actions, set similarity attributes, and define session-based rules—all without touching code.

<Note> Any updates you make to the model will be applied during the next training session. </Note>

<img src="https://mintcdn.com/experro/8leTCfwCNMk4X8PP/images/discovery/configure_reco_algorithm.png?fit=max&auto=format&n=8leTCfwCNMk4X8PP&q=85&s=e41f414c4fd582af2745f912700de200" alt="" width="1912" height="1079" data-path="images/discovery/configure_reco_algorithm.png" />

## Configurations

### Recommendation Model Training

* **Disable Model Training** (toggle)\
  Turn off automated training if you want to freeze the model in its current state.

* **Frequency for Model Training**\
  Specify how often (in days) Experro retrains this algorithm with fresh data. This field is available on if you keep the **Disable Model Training** toggle off.

  Example: “Weekly” runs weekly retraining.

### Metrics & Weightage

Adjust how much each type of user interaction influences your recommendations:

* **Clicks**
* **Add to Cart**
* **Orders**

<img src="https://mintcdn.com/experro/4fPtPqhyselHfqmM/images/discovery/reco_algorithm_weightage.png?fit=max&auto=format&n=4fPtPqhyselHfqmM&q=85&s=6a324d0423b3685f2bcc3e33ae77a03e" alt="" width="1554" height="408" data-path="images/discovery/reco_algorithm_weightage.png" />

<Tip>-   Increase the weight for “Orders” to prioritize products that actually convert.
<br /><br />-   Increase the weight for “Add to Cart” to promote products that are actively considered but not yet purchased.
<br /><br />-   Increase the weight for “Clicks” to surface products that are frequently engaged with but not necessarily bought.</Tip>

### Timeframe

Sliding window (in days) over which user activities are considered for generating personalized recommendations. Behaviors older than this window have diminishing influence.

<img src="https://mintcdn.com/experro/4fPtPqhyselHfqmM/images/discovery/reco_algorithm_timeframe.png?fit=max&auto=format&n=4fPtPqhyselHfqmM&q=85&s=aefc527592ea75b3c39e1a070b21fb33" alt="" width="1552" height="304" data-path="images/discovery/reco_algorithm_timeframe.png" />

<Tip>Set a longer timeframe if you want to capture long-term browsing patterns. A shorter window is useful for reflecting recent trends and seasonality.</Tip>

### Threshold Value

Threshold Value for Recommendation AI Model. Controls how “strict” or “broad” matches must be for recommendations to surface.

* **Guidance:**
  * Lower = broader matches (risk of irrelevant suggestions)
  * Higher = stricter relevance (fewer but more accurate picks)

<img src="https://mintcdn.com/experro/4fPtPqhyselHfqmM/images/discovery/reco_algorithm_threshold.png?fit=max&auto=format&n=4fPtPqhyselHfqmM&q=85&s=7d67f88052230c017a75639d12b68355" alt="" width="1554" height="307" data-path="images/discovery/reco_algorithm_threshold.png" />

<Note> To change this setting beyond the UI default, please contact our support team.</Note>

### Attributes for Similarity

Select fields for similarity. Pick the product attributes (e.g., Name, Brand, Category, Price) that the algorithm uses to determine “similarity”. Matching on the right attributes ensures more meaningful “Similar Products” and “Frequently Viewed Together” recommendations.

<img src="https://mintcdn.com/experro/4fPtPqhyselHfqmM/images/discovery/reco_algorithm_similarity.png?fit=max&auto=format&n=4fPtPqhyselHfqmM&q=85&s=1847a45f4ece9b5c6f3cfc0162a3ccf2" alt="" width="1554" height="409" data-path="images/discovery/reco_algorithm_similarity.png" />

### Configure Algorithm Sessions

Fine-tune how Experro interprets in-session user behavior to train co-occurrence-based recommendation algorithms more accurately. By defining the minimum number of interactions required for signals to be counted as meaningful, you can balance precision with coverage across your catalog.

<img src="https://mintcdn.com/experro/4fPtPqhyselHfqmM/images/discovery/reco_algorithm_sessions.png?fit=max&auto=format&n=4fPtPqhyselHfqmM&q=85&s=bb37c593b58998f2a074a1acfe94fb3d" alt="" width="1555" height="396" data-path="images/discovery/reco_algorithm_sessions.png" />

| Metric                           | Description                                                                                                                         |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Viewed Together in a Session** | The number of times a product needs to be viewed in the same session as another product to be considered a “viewed together” match. |
| **Bought Together in a Session** | The number of times a product needs to be bought in the same session as another product to be considered a "bought together" match. |

<Tip> Setting these to “3” is recommended for most catalogs as per the industry standards. </Tip>

## Exclusion Rules

Use **Exclusion Rules** to prevent certain SKUs or categories from ever appearing in a widget’s results.

<img src="https://mintcdn.com/experro/4fPtPqhyselHfqmM/images/discovery/reco_algorithm_exclusion.png?fit=max&auto=format&n=4fPtPqhyselHfqmM&q=85&s=f300928927ad50eb75257175e169dc09" alt="" width="1919" height="1079" data-path="images/discovery/reco_algorithm_exclusion.png" />

1. Navigate to the **Exclusion Rules** tab.
2. Next, select the **Product Rule** or **Category Rule** tab to exclude specific products or categories from a widget. Select **Purchased Product** to exclude products that have been purchased.
3. Add Products or Categories to exclude based on the tab that you have selected.

Once you’ve finished configuring each section above, click **Save** to confirm your changes. Your new settings will take effect with the next model training cycle—delivering more precise, personalized suggestions on your storefront.
