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
Users who are inspecting a transformer want to know the hyperparameters that are being used to create it. To improve usability, we should improve the way each individual transformer is printed.
Expected behavior
Every individual transformer should print:
name of the transformer
hyperparameters used to create it (ie all hyperparameters that are not the default)
Goal: User should know exactly how to create that object.
# Default: No parameters are printed because they are all defaults>>>fromtransformers.numericalimportFloatFormatter>>>default_transformer=FloatFormatter()
>>>print(default_transformer)
<FloatFormatter()># Overriding parameter(s): Only print the overridden parameter(s)>>>fromtransformers.booleanimportBinaryEncoder>>>transformer=BinaryEncoder(missing_value_replacement='mode')
>>>print(transformer)
<BinaryEncoder(missing_value_replacement="mode")>
Additional context
One motivation for this change is the HyperTransformer. When it returns the (first) transformer for each column, it will be nice if users can see which transformers are being used.
The text was updated successfully, but these errors were encountered:
Problem Description
Users who are inspecting a transformer want to know the hyperparameters that are being used to create it. To improve usability, we should improve the way each individual transformer is printed.
Expected behavior
Every individual transformer should print:
Goal: User should know exactly how to create that object.
Additional context
One motivation for this change is the
HyperTransformer
. When it returns the (first) transformer for each column, it will be nice if users can see which transformers are being used.The text was updated successfully, but these errors were encountered: