Examples of SpikingNeuron


Examples of ca.nengo.model.neuron.impl.SpikingNeuron

    //TODO: bounding neurons for inhibitory projection
    //set intercepts of first few neurons to 1 (outside normal range)
    int n = 10;
    for (int i = 0; i < n; i++) {
      SpikingNeuron neuron = (SpikingNeuron) result.getNodes()[i];
      neuron.setBias(1-neuron.getScale());
    }

    DecodedOrigin o = (DecodedOrigin) result.addDecodedOrigin(NEFEnsemble.X, new Function[]{f}, Neuron.AXON);

    float[][] decoders = o.getDecoders();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.