Inverse Learning of Symmetry Transformations