<div dir="ltr"><div>Because the matrices in mlpack are column-major, the results of pca is the negative of correct results according to <a href="https://github.com/mlpack/mlpack/blob/21b198b20beae6e567dc8c1e47293ddde562bef2/src/mlpack/tests/pca_test.cpp#L76">this line</a> of code.<br></div><div>Isn&#39;t it more reasonable to negate inside Apply()?</div><div><br></div></div>