VJP - Smart Bestsellers on Clustering from Views

Overview

Best-selling trends within the Cluster the visitor is predicted to belong based on his prior product views.

Customer Clustering distributes all customers into clusters based on their purchase history

WPOS

Use Cases

Mode

Requirements

WPOS

Use Cases

Mode

Requirements

ALL

Segmented Product Attribute Scorer (from store)

SCORER*

You need to have activated the BAIA module: Customer Clustering as described in this success case

ALL

Store Mapped Product Attributes Views from Correlation

OTHERS

same requirements as above

ALL

Clustering Predictor

OTHERS

same requirements as above

* the Use Cases configuration is provided as SCORER with a default weight of 500.

Variables

  • field_prefix: the prefix of the clustered field before the cluster id*
    (for the 1st Use Case which will appear in the SCORERS)

  • field_postfix: the postfix of the clustered field after the cluster id*
    (for the 1st Use Case which will appear in the SCORERS)

  • pmml: the pmml name (will be provided to you by Boxalino), must be set in both OTHERS Use Cases

*Typically, fields will be like “bq_order_count_cluster_id_[NB]_short_term” with NB the id of the cluster (everything before is the prefix, e.g.: bq_order_count_cluster_id_, everything after is the postfix, e.g.: _short_term). However, please ask for this information to Boxalino after you have completed your Customer Clustering activation project.

As for the PCS - Smart Bestsellers, you can define different cases than the Order Count and period than short-term.

How to configure it?

You can import the JSON below directly in the Admin (use the Import button on the top right), as in this screen-shot, you will need to select a field prefix and postfix in two separate parameters.

You need to ask Boxalino what values should be considered for the prefix and the postfix

[ { "useCaseModelSource": "library", "useCaseModelId": 193, "useCaseModelVersion": 1, "useCaseModelSubVersion": 1, "name": "Prepare clustering inputs based on product views", "order": "0", "orGroup": null, "fromIndex": -1, "toIndex": -1, "maxWeight": null, "variant": "", "scope": "local", "overwriteLevel": 1, "overwriteLabel": [ null ], "globalTargetTags": [ null ], "active": true, "parameters": [ { "name": "initialFieldName", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "initialValues", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "initialValueForOthers", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "source", "value": { "format": "StringParameterValue", "value": "{{pmml}}" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "type", "value": { "format": "StringParameterValue", "value": "boxalino_std_pmml-data-field-names" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "onlyActive", "value": { "format": "BooleanParameterValue", "value": true }, "scope": "global" }, { "name": "fixedDate", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "dateFromValueKey", "value": { "format": "StringParameterValue", "value": "segment_param_from" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "dateToValueKey", "value": { "format": "StringParameterValue", "value": "segment_param_to" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "maxHistoryDepth", "value": { "format": "NumberParameterValue", "value": 10 }, "scope": "global" }, { "name": "minHistoryCount", "value": { "format": "NumberParameterValue", "value": 0 }, "scope": "global" }, { "name": "maxAgeSeconds", "value": { "format": "StringParameterValue", "value": "0" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "required", "value": { "format": "BooleanParameterValue", "value": false }, "scope": "global" }, { "name": "type2", "value": { "format": "StringParameterValue", "value": "boxalino_std_pmml-data-fields" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "onlyActive2", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "normalizeForFieldName", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "dataField", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "mapValues", "value": { "format": "StringParameterValues", "values": [] }, "scope": "global" }, { "name": "mapvalueForOthers", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "storeKey", "value": { "format": "StringParameterValue", "value": "clustering_views" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "valueForOthers", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" } ], "segmentationIds": null, "segmentationUniqueKeys": [], "CPOInitiativeId": null, "notes": null, "options": { "status": null, "includeWidgets": null, "excludeWidgets": null, "allWidgets": null, "conditionalSegments": null, "conditionalProductSelections": null, "ordering": null, "parameters": [ { "name": "system", "values": [ "false" ] } ], "allLinkedAccounts": null, "accounts": null }, "icons": { "strategy": { "value": "cpo_journey.png", "tooltip": "JOURNEY OPTIMIZATION" }, "level": { "value": "L2", "tooltip": "LEVEL 2 - CUSTOMIZED JOURNEYS" }, "initiative": { "value": "fa-folder", "tooltip": "STORED BEHAVIORS" }, "character": { "value": "", "tooltip": "" }, "mode": { "label": "", "value": "", "tooltip": "" } }, "sections": [ { "id": "main", "label": "Values", "active": true }, { "id": "advanced", "label": "Advanced", "active": false } ], "isSelected": true, "status": false }, { "useCaseModelSource": "library", "useCaseModelId": 50, "useCaseModelVersion": 1, "useCaseModelSubVersion": 1, "name": "Clustering Predictor", "order": "1", "orGroup": null, "fromIndex": -1, "toIndex": -1, "maxWeight": null, "variant": "", "scope": "local", "overwriteLevel": 1, "overwriteLabel": null, "globalTargetTags": null, "active": true, "parameters": [ { "name": "pmml", "value": { "format": "StringParameterValue", "value": "{{pmml}}" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "inputsValuesStoreKeys", "value": { "format": "StringParameterValues", "values": [ "clustering_views" ] }, "scope": "global" }, { "name": "storeKey", "value": { "format": "StringParameterValue", "value": "predicted_cluster" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "defaultsValuesStoreKeys", "value": { "format": "StringParameterValues", "values": [ "clustering_views" ] }, "scope": "global" }, { "name": "separator", "value": { "format": "StringParameterValue", "value": "-" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "factor", "value": { "format": "NumberParameterValue", "value": 0.0001 }, "scope": "global" }, { "name": "targetAsValue", "value": { "format": "BooleanParameterValue", "value": true }, "scope": "global" }, { "name": "valuesConditionMapKey", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "valuesConditionValueIndex", "value": { "format": "StringParameterValue", "value": "0" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "targetSeparator", "value": { "format": "StringParameterValue", "value": "\\\\|" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "required", "value": { "format": "BooleanParameterValue", "value": false }, "scope": "global" }, { "name": "limitFields", "value": { "format": "StringParameterValues", "values": [ "!asdf" ] }, "scope": "global" }, { "name": "defaultsCorrelationType", "value": { "format": "StringParameterValue", "value": "boxalino_std_pmml-data-field-defaults" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "limitField", "value": { "format": "StringParameterValue", "value": "" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "limitFieldValues", "value": { "format": "StringParameterValue", "value": "*" }, "scope": "global", "startval": {}, "schema": "" } ], "segmentationIds": null, "segmentationUniqueKeys": [], "CPOInitiativeId": null, "notes": null, "options": { "status": null, "includeWidgets": null, "excludeWidgets": null, "allWidgets": null, "conditionalSegments": null, "conditionalProductSelections": null, "ordering": null, "parameters": [ { "name": "system", "values": [ "false" ] } ], "allLinkedAccounts": null, "accounts": null }, "icons": { "strategy": { "value": "cpo_journey.png", "tooltip": "JOURNEY OPTIMIZATION" }, "level": { "value": "L3", "tooltip": "LEVEL 3 - CLUSTERED JOURNEYS" }, "initiative": { "value": "fa-folder", "tooltip": "CLUSTERING" }, "character": { "value": "", "tooltip": "" }, "mode": { "label": "", "value": "", "tooltip": "" } }, "sections": [ { "id": "main", "label": "Values", "active": true }, { "id": "advanced", "label": "Advanced", "active": false } ], "isSelected": true, "status": true }, { "useCaseModelSource": "library", "useCaseModelId": 194, "useCaseModelVersion": 1, "useCaseModelSubVersion": 1, "name": "Smart Bestsellers on Clustering from Views", "order": "11", "orGroup": null, "fromIndex": -1, "toIndex": -1, "maxWeight": null, "variant": "", "scope": "local", "overwriteLevel": 1, "overwriteLabel": null, "globalTargetTags": null, "active": true, "parameters": [ { "name": "minValue", "value": { "format": "NumberParameterValue", "value": -10 }, "scope": "global" }, { "name": "maxValue", "value": { "format": "NumberParameterValue", "value": -90 }, "scope": "global" }, { "name": "boostWeight", "value": { "format": "StringParameterValue", "value": "750" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "storeKey", "value": { "format": "StringParameterValue", "value": "predicted_cluster" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "prefix", "value": { "format": "StringParameterValue", "value": "{{field_prefix}}" }, "scope": "global", "startval": {}, "schema": "" }, { "name": "normalizeForFieldName", "value": { "format": "StringParameterValue", "value": null }, "scope": "global", "startval": {}, "schema": "" }, { "name": "postfix", "value": { "format": "StringParameterValue", "value": "{{field_postfix}}" }, "scope": "global", "startval": {}, "schema": "" } ], "segmentationIds": null, "segmentationUniqueKeys": [], "CPOInitiativeId": null, "notes": null, "options": { "status": null, "includeWidgets": null, "excludeWidgets": null, "allWidgets": null, "conditionalSegments": null, "conditionalProductSelections": null, "ordering": null, "parameters": [ { "name": "system", "values": [ "false" ] } ], "allLinkedAccounts": null, "accounts": null }, "icons": { "strategy": { "value": "cpo_journey.png", "tooltip": "JOURNEY OPTIMIZATION" }, "level": { "value": "L2", "tooltip": "LEVEL 2 - CUSTOMIZED JOURNEYS" }, "initiative": { "value": "fa-folder", "tooltip": "STORED BEHAVIORS" }, "character": { "value": "", "tooltip": "" }, "mode": { "label": "", "value": "", "tooltip": "" } }, "sections": [ { "id": "main", "label": "Values", "active": true }, { "id": "advanced", "label": "Advanced", "active": false } ], "isSelected": true } ]