Skip to content

De-standarization of output data #25

@luiservela

Description

@luiservela

Dear all,
I have been looking at the inference.py script and I see how lines 190 and 191 (

valid_data = (valid_data - means)/stds
valid_data = torch.as_tensor(valid_data).to(device, dtype=torch.float)
) in the autoregresive_interpolation function help out standardize the input data.

However, I see nowhere the inverse process taking place for output data (seq_real and seq_pred).

Could this be achieved by simply running:
seq_real = seq_real * stds + means
seq_pred = seq_pred * stds + means

or am I missing something critical here?

Best,

LuisV

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions