nnmnkwii.preprocessing.inv_scale

nnmnkwii.preprocessing.inv_scale(x, data_mean, data_std)[source]

Inverse tranform of mean/variance scaling.

Given mean and variances, apply mean-variance denormalization to data.

Parameters
  • x (array) – Input data

  • data_mean (array) – Means for each feature dimention.

  • data_std (array) – Standard deviation for each feature dimention.

Returns

Denormalized data.

Return type

array