public Neuron(ActivationFunctions func, NeuronTag tag, Dictionary <string, double> inputs) { Inputs = new Dictionary <string, double>(inputs); ActFunc = func; Set = false; Id = ""; Set = false; Result = 0; Tag = tag; }
public Neuron() { Inputs = new Dictionary <string, double>(); ActFunc = ActivationFunctions.Sigmoid; Set = false; Id = ""; Set = false; Result = 0; Tag = NeuronTag.hidden; }