Package org.neuroph.core.input

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


   *            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

Related Classes of org.neuroph.core.input.WeightsFunction

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.