Beispiel #1
0
        /// <inheritdoc/>
        public IMLDataPair Generate()
        {
            var d = new double[_dimension];

            for (int i = 0; i < _dimension; i++)
            {
                d[i] = _randomizer.Randomize(0);
            }

            double[] d2 = MatrixMath.Multiply(_covarianceL, d);
            return(new BasicMLDataPair(new BasicMLData(EngineArray.Add(d2, _mean))));
        }