nemo_microservices.types.data_designer.category_sampler_params_param#

Module Contents#

Classes#

API#

class nemo_microservices.types.data_designer.category_sampler_params_param.CategorySamplerParamsParam#

Bases: typing_extensions.TypedDict

values: typing_extensions.Required[nemo_microservices._types.SequenceNotStr[str | float]]#

None

List of possible categorical values that can be sampled from.

weights: Iterable[float]#

None

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

Larger values will be sampled with higher probability.