Ejemplo n.º 1
0
        public double[,] GetMIps()
        {
            var averageMI = MIs.Average();
            var length    = (int)Math.Sqrt(MIs.Length);

            Parallel.For(0, length, i =>
            {
                for (j = 0; j < length; j++)
                {
                    APCs[i, j] = APCs[j, i] = MIs.AverageColumn(i) * MIs.AverageColumn(j) / averageMI;
                    MIps[i, j] = MIps[j, i] = MIs[i, j] - APCs[i, j];
                }
            });
            Zscores = MIps.CalculateZscore();
            return(Zscores);
        }