Example #1
0
        public AccordNeuralNetwork(
            INeuralNetworkSettings neuralNetworkSettings,
            ActivationNetwork activationNetwork)
        {
            this.network = activationNetwork ?? new ActivationNetwork(
                new ThresholdFunction(),
                neuralNetworkSettings.NeuronCounts[0],
                neuralNetworkSettings.NeuronCounts.Skip(1).ToArray());

            this.teacher = new BackPropagationLearning(this.network);
            this.neuralNetworkSettings = neuralNetworkSettings;
        }
 public AccordNeuralNetworkFactory(
     INeuralNetworkSettings settings)
 {
     this.settings = settings;
 }