Suppose you have the following sample from the dataset:
Perform the row normalization (use the norm). The answer should be the sum of 2 values: the minimum and the maximum of the transformed sample, rounded up to the first decimal. During intermediary calculations, round the norm up to the first decimal, and then round the results of the sample division by the norm up to the first decimal.
As a reminder, to perform the row normalization, you have to calculate the norm of the sample:
Then, each element in the sample is divided by the obtained norm.
The sample as a Python list
sample = [1, 0, -9, 5, 20]