nemo_microservices.types.data_designer.category_sampler_params#

Module Contents#

Classes#

API#

class nemo_microservices.types.data_designer.category_sampler_params.CategorySamplerParams(/, **data: Any)#

Bases: nemo_microservices._models.BaseModel

values: List[str | float]#

None

List of possible categorical values that can be sampled from.

weights: List[float] | None#

None

List of unnormalized probability weights to assigned to each value, in order.

Larger values will be sampled with higher probability.