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
As a user, it would be useful if I could call a method that autonomously assigns transformers to my data using the metadata. It would also be helpful if I could examine those transformers afterwards.
Expected behavior
Add auto_assign_transformers method to BaseSynthesizer
Parameters:
data (pd.DataFrame): The raw data.
This method should use the DataProcessor to do the following:
Transform the constraints
Create the config for the HyperTransformer and set it
This method SHOULD NOT fit the HyperTransformer
Add get_transformers method to BaseSynthesizer
This method should return a dictionary mapping the column name to the actual transformer object that will be used. This is essentially the transformers section of the HyperTransformer's config.
Errors:
If the auto_assign_transformers has not already been called, then this should crash Error: No transformers were returned in 'get_transformers'. Use 'assign_transformers' or 'fit' to create them.
Problem Description
As a user, it would be useful if I could call a method that autonomously assigns transformers to my data using the metadata. It would also be helpful if I could examine those transformers afterwards.
Expected behavior
Add
auto_assign_transformers
method toBaseSynthesizer
pd.DataFrame
): The raw data.DataProcessor
to do the following:HyperTransformer
and set itHyperTransformer
Add
get_transformers
method toBaseSynthesizer
transformers
section of theHyperTransformer
's config.auto_assign_transformers
has not already been called, then this should crashError: No transformers were returned in 'get_transformers'. Use 'assign_transformers' or 'fit' to create them.
Additional context
auto_assign_transformers
method can be used in some circumstances in thepreprocess_data
method in Add preprocess method to synthesizers #1018The text was updated successfully, but these errors were encountered: