rllm.transforms.table_transforms.OneHotTransform¶
- class rllm.transforms.table_transforms.OneHotTransform(out_dim: int = 0)[source]¶
Bases:
ColTransformOne-hot encodes categorical features.
- Parameters:
out_dim (int, optional) – The output dimensionality for the one-hot encoded features. If set to 0, the dimensionality will be determined by the number of unique categories in the data (default: 0).