Home > @uniformdev/context > strongestScorePersonalizationSelectionAlgorithm
strongestScorePersonalizationSelectionAlgorithm() function
Implementation of the strongest score personalization selection algorithm.
In this mode, we take all variations and break them into two groups: 1. Variations that have a positive score for their tagged dimension 2. Variations that do not have a dimension tag
We then sort the first group by score, concatenate the second group, and return the top <take> variations.
Signature:
Parameters
| Parameter | Type | Description | 
|---|---|---|
| { name, context, variations, take, onLogMessage, } | PersonalizationSelectionAlgorithmOptions<TCriteria, TVariation> | 
Returns:
PersonalizedResult<TVariation>