Learn R Programming

RSNNS (version 0.4-14)

denormalizeData: Revert data normalization

Description

Column-wise normalization of the input matrix is reverted, using the given parameters.

Usage

denormalizeData(x, normParams)

Value

column-wise denormalized input

Arguments

x

input data

normParams

the parameters generated by an earlier call to normalizeData that will be used for reverting normalization

Details

The input matrix is column-wise denormalized using the parameters given by normParams. E.g., if normParams contains mean and sd for every column, the values are multiplied by sd and the mean is added

See Also

normalizeData, getNormParameters

Examples

Run this code
data(iris)
values <- normalizeData(iris[,1:4])
denormalizeData(values, getNormParameters(values))

Run the code above in your browser using DataLab