Normalize
Normalize a FluidDataSet's contents
Normalize helps us scale data in a DataSet from any input range to a normal output range. Typically, a normal range is between 0 and 1. However, these boundaries can be modified with the min
and max
parameters. A concise example of normalisation is shown below by applying it to a DataSet containing five points. The input data is shown on the left, and the normalised result is shown on the right.
DataSet
DataSet
When there are multple columns of data, normalisation is applied per column. This preserves the relationship of data within a column across all points, but will alter the shape of the data across the point. In the example below, we might imagine the first column is Loudness in dB, and the second column is Pitch in hertz. Observe the differences in range between the first and second column after normalisation.