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
In Categorical.output_inverse_transform(), I think there is a bug in line 104. It doesn't seem to be correctly outputting the original data categories. For me, it was just outputting all zeros. Upon closer inspection of that function and comparing it to the similar functions implemented for the other data types, it doesn't appear to be utilizing the response_transform_pipeline that is passed in as an argument to the function.
Currently, line 104 reads:
natural_scaled_vars = numpy.argmax(y_pred, axis=1)
I believe it should read:
natural_scaled_vars = response_variable_transformer.inverse_transform(y_pred)
The text was updated successfully, but these errors were encountered:
In Categorical.output_inverse_transform(), I think there is a bug in line 104. It doesn't seem to be correctly outputting the original data categories. For me, it was just outputting all zeros. Upon closer inspection of that function and comparing it to the similar functions implemented for the other data types, it doesn't appear to be utilizing the response_transform_pipeline that is passed in as an argument to the function.
Currently, line 104 reads:
natural_scaled_vars = numpy.argmax(y_pred, axis=1)
I believe it should read:
natural_scaled_vars = response_variable_transformer.inverse_transform(y_pred)
The text was updated successfully, but these errors were encountered: