nemo_microservices.types.data_designer.category_sampler_params#
Module Contents#
Classes#
API#
- class nemo_microservices.types.data_designer.category_sampler_params.CategorySamplerParams(/, **data: typing.Any)#
Bases:
nemo_microservices._models.BaseModel- sampler_type: Optional[typing_extensions.Literal[category]]#
None
- values: List[Union[str, float]]#
None
List of possible categorical values that can be sampled from.
- weights: Optional[List[float]]#
None
List of unnormalized probability weights to assigned to each value, in order.
Larger values will be sampled with higher probability.