Exemplo n.º 1
0
        public void TestNonSquareLargeTranspose()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestTranspose(40, 3);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 2
0
        public void TestSimpleMeanCenter()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestMeanCenter(3, 3, false);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 3
0
        public void TestSimpleLargeTranspose()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestTranspose(300, 300);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 4
0
        public void TestSetup()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestSetup();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 5
0
        public void TestSimpleNonSquareDot()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestDot(3, 2, 4);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 6
0
        public void TestSumSqDiff1()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestSumSqDiff(1000, 784, 784 * 10, 784 * 11);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 7
0
        public void TestSimplePCA_randomdata()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestSimplePCA_randomdata();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 8
0
        public void TestSimpleWidth()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestWidth(3, 3);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemplo n.º 9
0
        public void TestNonSquareLargeMeanCenterNormalize()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestMeanCenter(3000, 784, true);
                }
            }
            finally
            {
                test.Dispose();
            }
        }