You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when setting a config to the HyperTransformer if the sdtype is not the same as the result of get_input_sdtype, it fails. We should use get_supported_sdtypes instead.
Steps to reproduce
fromrdtimportHyperTransformerfromrdt.transformersimportLabelEncoderconfig= {
'transformers': {
'boolean_col': LabelEncoder(add_noise=True),
},
'sdtypes': {
'boolean_col': 'boolean'
}
}
ht=HyperTransformer()
ht.set_config(config)
Error: Sometransformersyou've assigned are not compatible with the sdtypes. Please change the following columns: ['boolean_col']
The text was updated successfully, but these errors were encountered:
Error Description
Currently, when setting a config to the
HyperTransformer
if thesdtype
is not the same as the result ofget_input_sdtype
, it fails. We should useget_supported_sdtypes
instead.Steps to reproduce
The text was updated successfully, but these errors were encountered: