We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reverse_transform
When a user uses reverse_transform, we should validate their input & throw appropriate warnings/errors.
Perform the following 3 validation checks:
Note: This also applies if the HyperTransformer was previously fit but the config has changed since then.
ht = HyperTransformer() ht.detect_initial_config(data) ht.reverse_transform(reversed_data) Error: The HyperTransformer is not ready to use. Please fit your data first using 'fit' or 'fit_transform'.
ht = HyperTransformer() ht.reverse_transform(reversed_data) Error: No config detected. Set the config using 'set_config' or pre-populate it automatically from your data using 'detect_initial_config' prior to fitting your data.
ht = HyperTransformer() ht.detect_initial_config(data) ht.fit(data) ht.reverse_transform(bad_data) Error: There are unexpected columns in the data you are trying to transform. You must provide a transformed dataset with all the columns from the original data.
The text was updated successfully, but these errors were encountered:
amontanez24
No branches or pull requests
Problem Description
When a user uses
reverse_transform
, we should validate their input & throw appropriate warnings/errors.Expected behavior
Perform the following 3 validation checks:
1. Reverse transforming data before fitting it
Note: This also applies if the HyperTransformer was previously fit but the config has changed since then.
2. Transforming the data before setting a config
3. The data does not have the exact same column names as the config (& fit data)
The text was updated successfully, but these errors were encountered: