Accord.Tests.Statistics.DescriptiveAnalysisTest.DescriptiveAnalysisConstructorTest1 C# (CSharp) Méthode

DescriptiveAnalysisConstructorTest1() private méthode

private DescriptiveAnalysisConstructorTest1 ( ) : void
Résultat void
        public void DescriptiveAnalysisConstructorTest1()
        {
            // Suppose we would like to compute descriptive
            // statistics from the following data samples:
            double[,] data =
            {
                { 1, 52, 5 },
                { 2, 12, 5 },
                { 1, 65, 5 },
                { 1, 25, 5 },
                { 2, 62, 5 },
            };

            // Create the analysis
            DescriptiveAnalysis analysis = new DescriptiveAnalysis(data);

            // Compute
            analysis.Compute();

            test(analysis);
        }