Exemplo n.º 1
0
        public static double Activation(int i, double[] x, DenseMatrix Θ)
        {
            Trace.Assert(i > 0, "i should be 1 indexed");

            return(Regression.G(Θ.Row(i).DotProduct(new DenseVector(x))));
        }