コード例 #1
0
 public Neuron(INeuronWeights passedNeuronWeights, INeuronThreshold passedThreshold, INeuronActivationFunction passedActivationFunction) : base(passedNeuronWeights, passedThreshold, passedActivationFunction)
 {
 }
コード例 #2
0
 public Neuron(uint passedNumberOfWeights, INeuronThreshold passedThreshold, INeuronActivationFunction passedActivationFunction) : base(passedNumberOfWeights, passedThreshold, passedActivationFunction)
 {
 }
コード例 #3
0
 public ANeuron(INeuronWeights passedNeuronWeights, INeuronThreshold passedThreshold, INeuronActivationFunction passedActivationFunction)
 {
     this.Weights             = passedNeuronWeights;
     this._ActivationFunction = passedActivationFunction;
     this.Threshold           = passedThreshold;
 }
コード例 #4
0
 public ANeuron(INeuronWeights passedNeuronWeights, INeuronActivationFunction passedActivationFunction)
 {
     this.Weights             = passedNeuronWeights;
     this._ActivationFunction = passedActivationFunction;
     this.Threshold           = new NeuronThreshold(Config.RANDOM.NextFloat());
 }
コード例 #5
0
 public ANeuron(uint passedNumberOfWeights, INeuronThreshold passedThreshold, INeuronActivationFunction passedActivationFunction)
 {
     this._Weights            = GenerateWeights(passedNumberOfWeights);
     this._ActivationFunction = passedActivationFunction;
     this._Threshold          = passedThreshold;
 }
コード例 #6
0
 public ANeuron(uint passedNumberOfWeights, INeuronActivationFunction passedActivationFunction)
 {
     this._Weights            = GenerateWeights(passedNumberOfWeights);
     this._ActivationFunction = passedActivationFunction;
     this._Threshold          = new NeuronThreshold(Config.RANDOM.NextFloat());
 }