示例#1
0
 // This is the derivative after modifying the loss function.
 public override double GetActivationSlopeAt(FiringNeuron neuron) => 1;
示例#2
0
        public override double GetActivationSlopeAt(FiringNeuron neuron)
        {
            double y = neuron.Output;

            return(y * (1 - y));
        }
示例#3
0
        public override double GetActivationSlopeAt(FiringNeuron neuron)
        {
            var tanh = neuron.Output;

            return(1 - tanh * tanh);
        }
示例#4
0
 public override double GetActivationSlopeAt(FiringNeuron neuron)
 => neuron.Output * (1 - neuron.Output);
示例#5
0
 public override double GetActivationSlopeAt(FiringNeuron neuron) => neuron.TotalInput > 0 ? 1 : .01;
示例#6
0
 public abstract double GetActivationSlopeAt(FiringNeuron neuron);