Table of Contents |
---|
Overview
Plugin Configuration
Within the plugin:
The following settings can be configured:
Setting | Description | ||
---|---|---|---|
MAB Mode | Select Variant Allows the user to enter the Variants they would like to Test in the Multi-Armed Bandits Log an Attempt Allows the user to create a Rule to count the attempts where specific Variants were actually used. Log Success Allows the user to create a Rule to count the success for each Variant. The measurement of success may take place in a different rule to the Select Variant and Log and Attempt modes. | ||
Keyspace | Tables exist in Keyspace in DDE (similar to a database). If the rule is running in DDE then this will automatically be populated with the client name and Target within DDE and the value added here (Localhost for testing) will be ignored. This can be set via a Parameter if required. | ||
Table | The name of the table which will be created in Cassandra. If left blank this will be the same as the keyspace field name. This can be set via a Parameter if required. | ||
Key (Static) | This Key is how the Multi-Armed Bandit will identify the Variants as belonging to a specific Multi-Armed Bandit and how it links the variants to other rules where Attempts and Successes for this specific MAB are performed. The Key can be a Static value set here in the Plugin. | ||
Key (Field/Param) | If the Key (Static) value is not populated you are also able to select either a Field from the Rule flow or a Parameter to populate the key. Using a Parameter will allow the field value to be seen and altered in the Jounrey Orchestration user interface.
| ||
Experimentation Frequency | The experimentation frequencies have the following definition:
| ||
Field | Field that will contain the Variants generated by the Multi-Armed Bandit. It will also be the field that should be used to count the Attempts and Successes in those modes. | ||
Statistical Significance | The user can choose a Statistical Significance level for the Multi-Armed Bandit. The Multi-Armed bandit will continue to send an even split to ALL variants until Statistical Significance has been reached. At this point it will decide on the “winning” variants. Statistical Significance is based on a Chi-Squared Test and its P-Value. The P-Value is is between 0 and 0.1 For ease of customer use we will accept 0-100 From a users perspective:
This can be set via a Parameter if required. | ||
Reporting Fields | The Alterian Multi-Armed Bandit has been designed to work automatically, calculating the “Winning” option automatically and passing in new variants to test the winning option against. Users may want more information on the decisions the Multi-Armed Bandit is making. When the Reporting Fields checkbox has been selected the fields below are automatically created by the Multi-Armed Bandit and can be output for review if required. {"MAB_StatisticalSignificance":"1.0","MAB_IsSignificant":"false","MAB_DidExperiment":"false",,"MAB_OriginalWinner":"","MAB_Options":"{"options":[{"successes":1,"name":"Variant 3","attempts":1},{"successes":1,"name":"Variant 2","attempts":1},{"successes":1,"name":"Variant 1","attempts":1}]}"}
| ||
Variants | A Variant can be a static value, added to column one, or you can add a Variant from a field or from a Parameter. Here we have a static value for Variant 1 and we are using the “MAB String” field to provide the Variant for Variant 3. We are also using the “VariantfromParameter” parameter to supply the Varaint for Variant 2. Remember Parameters are available within the Journey Orchestration user interface and in this way users can easily adjust the variants used in a Multi-Armed Bandit.
| ||
Start and End Dates | You can add Variant Start and End dates or both. The Variant will only be included in the Multi-Armed Bandit calculations if the time when the Rule is run is within this “Active” time period. If the Rule is invoked outside of this time period the Variant will not be included as a winner or a loser. Variants that have an End date but no Start date will start immediately when the Rule containing it starts and end at the End Date. Variants that have an Start date but no End date are will start at the Start Date and simply continue until changed or removed in the future.
|
Multi-Armed Bandit Statistics
The Alterian Multi-Armed Bandit has been designed to work automatically, calculating the “Winning” option automatically and passing in new variants to test the winning option against.
Users may want more information on the decisions the Multi-Armed Bandit is making
|
{"MAB_StatisticalSignificance":"1.0","MAB_IsSignificant":"false","MAB_DidExperiment":"false",,"MAB_OriginalWinner":"","MAB_Options":"{"options":[{"successes":1,"name":"Variant 3","attempts":1},{"successes":1,"name":"Variant 2","attempts":1},{"successes":1,"name":"Variant 1","attempts":1}]}"}
MAB_StatisticalSignificance = The Statistical Significance it calculated
MAB_IsSignificant = Was the Statistical Significance lower than the value selected in the rule?
MAB_DidExperiment = If the decision was Statistically Significance, did it experiment?
MAB_OriginalWinner = Once you hit Statistical Significance this is always set to the current winner, if did experiment, this will be different than the field output
Example Scenario
| |
|