Our goal is to find a linear transformation matrix W so that XW best approximates Z, which we formalize minimizing the sum of squared Euclidean distances following <cite>Mikolov et al. (2013b)</cite> :