Learn R Programming

spartan (version 3.0.2)

normalise_dataset: Normalise a dataset such that all values are between 0 and 1

Description

Normalise a dataset such that all values are between 0 and 1

Usage

normalise_dataset(dataset, sample_mins, sample_maxes, parameters)

Arguments

dataset

LHC Summary file being used in emulator creation

sample_mins

The minimum value used for each parameter in generating the latin-hypercube sample

sample_maxes

The maximum value used for each parameter in generating the latin-hypercube sample

parameters

Simulation parameters the emulation will be fed as input

Value

List of the scaled data and the mimumum/maximum sample values for each, to aid rescale of the data and any predictions made using it.