Package zdenekdrahos.AI.ActivationFunctions

Examples of zdenekdrahos.AI.ActivationFunctions.IActivationFunction.derivate()


        return error;
    }

    private double getDelta(int layerIndex, int neuronIndex, double error) {
        IActivationFunction act = network.getLayer(layerIndex).getActivationFunction();
        double derivate = act.derivate(currentValues.get(neuronIndex));
        return error * derivate;
    }

    private void updateWeights() {
        double previousNeuronValue, previousAdjustment, weightAdjustment, newWeight;
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.