Given the HEOM distance function that is given by
Summation_a [|x_a-x_y|/(max_a-min_a)]
where a is the columns in the data
Can someone example the computation of HEOM distance in map reduce to compute the distance between all objects?
For example, given the following data set divided into two chunks as follows
Chunk_1
x_1 0.21 0.41
x_2 0.39 0.49
x_3 0.20 0.33
x_4 0.35 0.45
x_5 0.10 0.40
x_6 0.22 0.29
x_7 0.34 0.44
x_8 0.19 0.31
x_9 0.20 0.30
x_10 0.39 0.49
Chunk_2
x_11 0.50 0.60
x_12 0.22 0.42
x_13 0.36 0.46
x_14 0.11 0.39
x_15 0.23 0.34
x_16 0.18 0.39
x_17 0.19 0.42
x_18 0.10 0.41
x_19 0.21 0.32
x_20 0.22 0.34
Is this possible to be done using map-reduce? if yes, please help. The output should be matrix containing the distance between the objects.
Note: I'm using matlab 2015a?