Skip to content

De-standarization of output data #25

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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