Accord.Tests.MachineLearning.NaiveBayesGenericTest.DistributionsTest C# (CSharp) 메소드

DistributionsTest() 개인적인 메소드

private DistributionsTest ( ) : void
리턴 void
        public void DistributionsTest()
        {
            int classes = 3;
            int[] symbols = { 2, 1 };
            NaiveBayes target = new NaiveBayes(classes, symbols);
            double[,][] actual = target.Distributions;

            Assert.IsNotNull(actual);
            Assert.AreEqual(classes, actual.GetLength(0));
            Assert.AreEqual(symbols.Length, actual.GetLength(1));
        }