georgian-io/Multimodal-Toolkit

How to inverse transform the regression predicted labels

krati-saxena-turing opened this issue · 1 comments

Hi,
I have tried using numerical_transformer_method (str, optional) : box_cox and quantile_normal.
I get the predictions in a different scale as the original.

How to inverse transform the predictions to original labels?

All numerical transformer methods use scikit-learn under the hood. You should be able to inverse transform by running the inverse_transform function. Refer the Sklearn documentation for more information.

Note that you'll likely have to create another instance of the transformer since iirc it isn't saved anywhere when loading the data.