nemo_microservices.types.data_designer.sampler_column_config#

Module Contents#

Classes#

Data#

API#

nemo_microservices.types.data_designer.sampler_column_config.ConditionalParams: typing_extensions.TypeAlias#

None

nemo_microservices.types.data_designer.sampler_column_config.Params: typing_extensions.TypeAlias#

None

class nemo_microservices.types.data_designer.sampler_column_config.SamplerColumnConfig(/, **data: typing.Any)#

Bases: nemo_microservices._models.BaseModel

column_type: Optional[typing_extensions.Literal[sampler]]#

None

conditional_params: Optional[Dict[str, nemo_microservices.types.data_designer.sampler_column_config.ConditionalParams]]#

None

convert_to: Optional[str]#

None

drop: Optional[bool]#

None

name: str#

None

params: nemo_microservices.types.data_designer.sampler_column_config.Params#

None

Parameters for subcategory sampling conditioned on a parent category column.

Samples subcategory values based on the value of a parent category column. Each parent category value maps to its own list of possible subcategory values, enabling hierarchical or conditional sampling patterns.

Attributes: category: Name of the parent category column that this subcategory depends on. The parent column must be generated before this subcategory column. values: Mapping from each parent category value to a list of possible subcategory values. Each key must correspond to a value that appears in the parent category column.

sampler_type: nemo_microservices.types.data_designer.sampler_type.SamplerType#

None