Learning invariant representation from high- dimensional data for quantitative stroke reha