Conditional validation selection
ConditionalValidationSelection #
ConditionalValidationSelection(
validation_set_id: str,
thresholds: list[float],
chances: list[float],
rapid_counts: list[int],
dimension: Optional[str] = None,
)
Bases: RapidataSelection
Conditional validation selection class.
Probabilistically decides how many validation rapids you want to show per session based on the user score.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
validation_set_id
|
str
|
The id of the validation set to be used. |
required |
thresholds
|
list[float]
|
The thresholds to use for the user score. |
required |
chances
|
list[float]
|
The chances of showing a validation rapid for each threshold. |
required |
rapid_counts
|
list[int]
|
The amount of validation rapids that will be shown per session of this validation set for each threshold if selected by probability. (all or nothing) |
required |
dimension
|
Optional[str]
|
The dimension of the userScore that will be used in the thresholds. Defaults to None. |
None
|