Consider the following dataset where each data point consists of three features x1,x2 and x3 as
(2,4,3),(5,5,6),(2,2,1),(4,4,6)
Suppose the encoder and decoder functions, f and g respectively, are defined as
f(x1,x2,x3)=0.5x1+0.5x2−x3andg(u)=[u,u,u].
Find the reconstruction loss.
Hint : “The reconstruction loss of the encoder decoder pair is the mean of the squared distance between the actual input and reconstructed input.”