Beispiel #1
0
        private static void RunRandomEntropy(Random random)
        {
            // int numOfNodes = 10;
            int  iterations        = 10000;
            bool oneChanges        = false;
            var  vectorLength      = 1000;
            var  collapseDimension = 500;

            //foreach(var vectorLength in ArrayUtils.Init(200, 500, 1000, 1700, 2400, 3500, 4200, 5000, 5800, 7000))
            // for (var vectorLength = 50; vectorLength <= 2000; vectorLength += 50)
            for (var numOfNodes = 10; numOfNodes <= 10; numOfNodes += 5)
            {
                var approximation = new MultiplicativeApproximation(0.05 / Math.Pow(numOfNodes, 0.5));
                EntropyRunner.RunRandomly(random, numOfNodes, approximation, vectorLength, collapseDimension, iterations, oneChanges, resultDir);
            }
        }