public void transform_more_columns_than_samples_new_interface()
{
// Lindsay's tutorial data
double[,] datat = data.Transpose();
var target = new KernelPrincipalComponentAnalysis(new Linear());
// Compute
target.Learn(datat);
// Transform
double[,] actual = target.Transform(datat);
// Assert the scores equals the transformation of the input
double[,] result = target.Result;
double[,] expected = new double[,]
{
{ 0.50497524691810358 },
{ -0.504975246918104 }
}.Multiply(-1);
Assert.IsTrue(Matrix.IsEqual(expected, actual, 0.01));
Assert.IsTrue(Matrix.IsEqual(result, actual, 0.01));
}