コード例 #1
0
 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);
 }
コード例 #2
0
 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));
 }
コード例 #3
0
 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));
 }