Examples of Synapse


Examples of edu.jhu.mb.ernst.model.Synapse

     
      assertEquals ( -1, timeOfNextFire0, 0 );
     
      final double  weight = SIFNeuron.maxWeight / 10;
     
      final Synapse  synapse = MODEL_FACTORY.createSynapse (
        0, // to
        ( byte ) 0, // type (0 = excitatory)
        ( float ) weight );
     
      final double  timeOfNextFire1 = neuron.updateInput (
View Full Code Here

Examples of edu.jhu.mb.ernst.model.Synapse

     
      assertEquals ( -1, timeOfNextFire0, 0 );
     
      final double  weight = VSICLIFNeuron.maxWeight / 10;  
     
      final Synapse  synapse = MODEL_FACTORY.createSynapse (
        0,   // to
        ( byte ) 0, // type (0 = excitatory)
        ( float ) weight );
     
      final double  timeOfNextFire1 = neuron.updateInput (
View Full Code Here

Examples of edu.jhu.mb.ernst.model.Synapse

            {
              final double  inputEventTime
                = -Math.log ( Cnsran.ran2 ( seed ) )
                  / simulatorParser.backgroundFrequency;
             
              final Synapse  synapse = modelFactory.createSynapse (
                base + i,
                ( byte ) simulatorParser.bChannel,
                ( float ) simulatorParser.backgroundStrength );
             
              final PInputEvent  pInputEvent = new PInputEvent (
View Full Code Here

Examples of edu.jhu.mb.ernst.model.Synapse

          relativeStrength = relativeStrengthList.get ( i ).doubleValue ( );

        final double
          synapseStrength = relativeStrength * strength;

        final Synapse  synapse = modelFactory.createSynapse (
          toNeuronIndex,
          ( byte ) type,
          ( float ) synapseStrength );

        final double  time = getNextTime ( onTime );
View Full Code Here

Examples of edu.jhu.mb.ernst.model.Synapse

      int ymagratio=0;
      int xborder,yborder;
      int newx=0;
      int newy=0;
      String fromNeur,toNeur;
      Synapse syn;
      TreeSet<Synapse> synapses;
      int[] xy=new int[2];


      if(type==1&&stre>0) // these maynot be useful for new neuronal model
View Full Code Here

Examples of edu.jhu.mb.ernst.model.Synapse

      // Update STDP variables.
       
        for ( final Map.Entry<Synapse,TimeWeight>  entry
          : histTable.entrySet ( ) )
        {
          final Synapse  syn = entry.getKey ( );
         
          // Get the relative weight.
         
          final TimeWeight  tw = entry.getValue();

          // Channel 0 has STDP.
         
          if ( syn.getType ( ) == 0 )
          {
            // LTP only for close spikes.
           
            if ( lastFireTime < tw.time )
            {
View Full Code Here

Examples of edu.jhu.mb.ernst.model.Synapse

        //Iterator<Synapse,WeightTime> it = histTable.iterator();
       
        for ( final Map.Entry<Synapse,TimeWeight>  entry
          : histTable.entrySet ( ) )
        {
          final Synapse  syn = entry.getKey ( );
         
          // get the relative weight
         
          final TimeWeight  tw = entry.getValue();

          // channel 0 has STDP
         
          if ( syn.getType ( ) == 0 )
          {
            // LTP only for close spikes
           
            if ( lastFireTime < tw.time )
            {
View Full Code Here

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

        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

Examples of org.joone.engine.Synapse

    for (int i = 0; i < hiddenLayers; i++) {

      Layer currentLayer = NNLayer.newInstance(layer);
      currentLayer.setRows(hiddenLayerRows);

      Synapse currentSynapse = NNSynapse.newInstance(synapse);

      lastLayer.addOutputSynapse(currentSynapse);
      currentLayer.addInputSynapse(currentSynapse);

      nnLayers.add(currentLayer);
      lastLayer = currentLayer;
    }
    Synapse synapseToOutLayer = NNSynapse.newInstance(synapse);
    lastLayer.addOutputSynapse(synapseToOutLayer);

    LinearLayer outputLayer = new LinearLayer();
    outputLayer.addInputSynapse(synapseToOutLayer);
    outputLayer.setRows(1);
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.