예제 #1
0
        public double ActivationFunctionDerivative(double input, params double[] parameter)
        {
            var result = NeuronProp.SigmaDerivative(input, parameter[0]);

            //var result = NeuronProp.TahnDerivative(input);

            return(result);
        }
예제 #2
0
        public double ActivationFunction(double input, params double[] parameter)
        {
            //var result = NeuronProp.RBF(input, parameter[0]);
            var result = NeuronProp.SigmaFunction(input, parameter[0]);

            //var result = NeuronProp.LogisticFunction(input, parameter[0]);
            //var result = NeuronProp.TahnFunction(input, parameter[0]);
            //var result = NeuronProp.BinaryFunction(input);
            return(result);
        }