Package org.encog.neural.networks.synapse

Examples of org.encog.neural.networks.synapse.WeightedSynapse


        int success;
        Layer outputLayer = new BasicLayer(new ActivationSigmoid(), true, 6);
        Layer hiddenLayer1 = new BasicLayer(new ActivationSigmoid(), true, 6);
        Layer inputLayer = new BasicLayer(new ActivationSigmoid(), false, 4);

        Synapse synapse1 = new WeightedSynapse(hiddenLayer1, outputLayer);
        Synapse synapse2 = new WeightedSynapse(inputLayer, hiddenLayer1);

        hiddenLayer1.addSynapse(synapse1);
        inputLayer.addSynapse(synapse2);

        network.tagLayer("INPUT", inputLayer);
View Full Code Here

TOP

Related Classes of org.encog.neural.networks.synapse.WeightedSynapse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.