Package zdenekdrahos.AI.ActivationFunctions

Examples of zdenekdrahos.AI.ActivationFunctions.IActivationFunction


        }
    }

    private double getNeuronOutput() {
        double inputSum = getInputSum();
        IActivationFunction activationFunction = currentLayer.getActivationFunction();
        return activationFunction.activate(inputSum);
    }
View Full Code Here


        }
        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;
    }
View Full Code Here

TOP

Related Classes of zdenekdrahos.AI.ActivationFunctions.IActivationFunction

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.