Package org.neuroph.nnet.comp

Examples of org.neuroph.nnet.comp.CompetitiveLayer


    neuronProperties.setProperty("weightsFunction",  WeightedInput.class);
    neuronProperties.setProperty("summingFunction", Sum.class);
    neuronProperties.setProperty("transferFunction",TransferFunctionType.RAMP);

    // createLayer full connectivity in competitive layer
    CompetitiveLayer competitiveLayer = new CompetitiveLayer(outputNeuronsCount, neuronProperties);

    // add competitive layer to network
    this.addLayer(competitiveLayer);

    double competitiveWeight = -(1 / (double) outputNeuronsCount);
View Full Code Here


    NeuronProperties neuronProperties = new NeuronProperties();
    neuronProperties.setProperty("neuronType", CompetitiveNeuron.class);
    neuronProperties.setProperty("transferFunction", TransferFunctionType.RAMP);

    // createLayer full connectivity in competitive layer
    CompetitiveLayer competitiveLayer = new CompetitiveLayer(neuronsCount, neuronProperties);

    // add competitive layer to network
    this.addLayer(competitiveLayer);

    double competitiveWeight = -(1 / (double) neuronsCount);
View Full Code Here

TOP

Related Classes of org.neuroph.nnet.comp.CompetitiveLayer

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.