Package org.encog.engine.network.activation

Examples of org.encog.engine.network.activation.ActivationSteepenedSigmoid


    if (name.equalsIgnoreCase(MLActivationFactory.AF_TANH)) {
      return new ActivationTANH();
    }
   
    if( name.equalsIgnoreCase(MLActivationFactory.AF_SSIGMOID)) {
      return new ActivationSteepenedSigmoid();
    }

    return null;
  }
View Full Code Here


      final int populationSize) {
    super(populationSize, null);
    this.inputCount = inputCount;
    this.outputCount = outputCount;

    setNEATActivationFunction(new ActivationSteepenedSigmoid());

    if (populationSize == 0) {
      throw new NeuralNetworkError(
          "Population must have more than zero genomes.");
    }
View Full Code Here

    // simple network, 1 input, 1 bais , those two both conned into output neuron, so that 2 links!
    ActivationFunction[] activationFunctions = new ActivationFunction[3];
    List<NEATLink> links = new ArrayList<NEATLink>(2);
   
    for(int i=0;i<activationFunctions.length;i++) {
      activationFunctions[i] = new ActivationSteepenedSigmoid();
    }
   
    links.add( new NEATLink(0,2,1.0));
    links.add( new NEATLink(1,2,2.0));
   
View Full Code Here

    final List<NEATLink> linkList = new ArrayList<NEATLink>();

    final ActivationFunction[] afs = new ActivationFunction[substrate
        .getNodeCount()];

    final ActivationFunction af = new ActivationSteepenedSigmoid();
    // all activation functions are the same
    for (int i = 0; i < afs.length; i++) {
      afs[i] = af;
    }
View Full Code Here

TOP

Related Classes of org.encog.engine.network.activation.ActivationSteepenedSigmoid

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.