public Network(NetworkStructure networkStructure, string weightsFile) { this.networkStructure = networkStructure; weights = new Weights(); weights.LoadWeights(weightsFile); networkEvaluator = new NetworkEvaluator(this.networkStructure, weights); }
public Network(NetworkStructure networkStructure, Weights weights) { this.networkStructure = networkStructure; this.weights = weights; networkEvaluator = new NetworkEvaluator(this.networkStructure, this.weights); }
public Network(NetworkStructure networkStructure, int[] nodesPerLayer) { this.networkStructure = networkStructure; weights = new Weights(nodesPerLayer); networkEvaluator = new NetworkEvaluator(this.networkStructure, weights); }