public void Revert()
{
var target = new PrincipalComponentAnalysis(data);
// Compute
target.Compute();
// Transform
double[,] image = target.Transform(data);
// Reverse
double[,] actual = target.Revert(image);
// Verify both are equal with 0.01 tolerance value
Assert.IsTrue(Matrix.IsEqual(actual, data, 0.01));
}