public NeuronProperties(Type neuronClass, TransferFunctionType transferFunctionType) { // this.setProperty("weightsFunction", WeightedInput.class); // this.setProperty("summingFunction", Sum.class); this.SetProperty("inputFunction", typeof(WeightedSum)); this.SetProperty("transferFunction", transferFunctionType.getTypeClass()); this.SetProperty("neuronType", neuronClass); }
public NeuronProperties(WeightsFunctionType weightsFunctionType, SummingFunctionType summingFunctionType, TransferFunctionType transferFunctionType) { this.SetProperty("weightsFunction", weightsFunctionType.getTypeClass()); this.SetProperty("summingFunction", summingFunctionType.getTypeClass()); this.SetProperty("transferFunction", transferFunctionType.getTypeClass()); this.SetProperty("neuronType", typeof(Neuron)); }
public NeuronProperties(TransferFunctionType transferFunctionType, bool useBias) { // this.setProperty("weightsFunction", WeightedInput.class); // this.setProperty("summingFunction", Sum.class); this.SetProperty("inputFunction", typeof(WeightedSum)); this.SetProperty("transferFunction", transferFunctionType.getTypeClass()); this.SetProperty("useBias", useBias); this.SetProperty("neuronType", typeof(Neuron)); }