Esempio n. 1
0
        public NeuronalNetworkClassifier(List <Tuple <double[], double[]> > data,
                                         int inputNeurons, int outputNeurons, int evolutions = 1000, double learningRate = 0.5)
        {
            var neuronCounter = new NeuronCounter(inputNeurons, outputNeurons);

            this.data = data;
            this.feedforwardNeuronalNetwork = new FeedforwardNeuronalNetwork(neuronCounter, evolutions, learningRate);
        }
Esempio n. 2
0
        public NeuronalNetworkClassifier(List <Tuple <double[], double> > data,
                                         int inputNeurons, int outputNeurons, int firstHiddenLayerNeurons,
                                         int evolutions = 1000, double learningRate = 0.5, NeuronalNetworkMode neuronalNetworkMode = NeuronalNetworkMode.Standard)
        {
            var neuronCounter = new OneHiddenLayerNeuronCounter(inputNeurons, outputNeurons, firstHiddenLayerNeurons);

            this.dataOneOutput = data;
            this.feedforwardNeuronalNetwork = new FeedforwardNeuronalNetwork(neuronCounter, evolutions, learningRate, neuronalNetworkMode);
        }