Exemplo n.º 1
0
        private void initLRA(Vector<double> firstFeatures, int featureCount)
        {
            threshold = Convert.ToDouble(epsilon.Text.Replace('.',','));

            E = firstFeatures.ToColumnMatrix();

            var m = 1 / firstFeatures.DotProduct(firstFeatures); 
            M = DenseMatrix.Create(1,1,m);

            mask = null;
            mask = new List<int>();
        }