Examples of activationPhi()


Examples of eas.simulation.brain.neural.functions.ActivationFunction.activationPhi()

   
    public void propagate() {
        this.neuronVector.mult(this.weightMatrix);
        for (int i = 0; i < this.neuronVector.getRowCount(); i++) {
            ActivationFunction act = this.getActivationFunction(i);
            this.neuronVector.set(0, i, act.activationPhi(this.neuronVector.get(0, i)));
        }
    }

    public void propagateReverse() {
        if (this.inverseWeightMatrix == null) {
View Full Code Here

Examples of eas.users.lukas.neuroCEGPM.simpleNeural.activationFunction.ActivationFunction.activationPhi()

            GlobalVariables.getPrematureParameters().logWarning("Very long matrix multiplication in propagate: " + (endTime - startTime));
        }

        for (int i = 0; i < this.neuronVector.getRowCount(); i++) {
            ActivationFunction act = this.getActivationFunction(i);
            this.neuronVector.set(0, i, act.activationPhi(this.neuronVector.get(0, i)));
        }
       
        if (normalize) {
            this.normalizeNeuronVector(maxNeuronValue);
        }
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.