Examples of WeightsFunction


Examples of org.neuroph.core.input.WeightsFunction

                Class inputFunctionClass = neuronProperties.getInputFunction();
               
                if ( inputFunctionClass != null) {
                    inputFunction = createInputFunction(inputFunctionClass);
                } else {           
                    WeightsFunction weightsFunction = createWeightsFunction(neuronProperties.getWeightsFunction());
                    SummingFunction summingFunction = createSummingFunction(neuronProperties.getSummingFunction());
                   
                    inputFunction = new InputFunction(weightsFunction, summingFunction);                   
                }
View Full Code Here

Examples of org.neuroph.core.input.WeightsFunction

   *            weights function class
         *
   * @return returns instance of weights function.
   */
        private static WeightsFunction createWeightsFunction(Class weightsFunctionClass) {
            WeightsFunction weightsFunction = null;

            try {
                weightsFunction = (WeightsFunction) weightsFunctionClass.newInstance();
            } catch (InstantiationException e) {
                System.err.println("InstantiationException while creating WeightsFunction!");
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.