Skip to content

How can I get the original value? #504

@lwq-star

Description

@lwq-star

PyTorch Tabular has the following functions : Continuous features are scaled automatically using StandardScaler and target transformation can be enabled with a parameter. This will also handle the inverse tranformation automatically.

But how can I to convert the predicted values ​​obtained after the original data is input into the model for regression model into the original scale?

scikit-learn have power.inverse_transform and scaler.inverse_transform functions to get original scale but PyTorch Tabular?

This is my code for data preprocessing:

data_config = DataConfig(
    target=['Abovegroun'],  
    continuous_cols=df.columns.tolist(),  
    categorical_cols=[],  
    normalize_continuous_features=True,  
    continuous_feature_transform="yeo-johnson",  
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions