Пример #1
0
        public void TestNonSquareLargeTranspose()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestTranspose(40, 3);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #2
0
        public void TestSimpleMeanCenter()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestMeanCenter(3, 3, false);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #3
0
        public void TestSimpleLargeTranspose()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestTranspose(300, 300);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #4
0
        public void TestSetup()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestSetup();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #5
0
        public void TestSimpleNonSquareDot()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestDot(3, 2, 4);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #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();
            }
        }
Пример #7
0
        public void TestSimplePCA_randomdata()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestSimplePCA_randomdata();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #8
0
        public void TestSimpleWidth()
        {
            PCATest test = new PCATest();

            try
            {
                foreach (IPCATest t in test.Tests)
                {
                    t.TestWidth(3, 3);
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Пример #9
0
        public void TestNonSquareLargeMeanCenterNormalize()
        {
            PCATest test = new PCATest();

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