Package org.neuroph.core.input

Examples of org.neuroph.core.input.SummingFunction


               
                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


         *              summing function class
         *
   * @return returns instance of summing function
   */
  private static SummingFunction createSummingFunction(Class summingFunctionClass) {
    SummingFunction summingFunction = null;

                try {
                    summingFunction = (SummingFunction) summingFunctionClass.newInstance();
                } catch (InstantiationException e) {
                    System.err.println("InstantiationException while creating SummingFunction!");
View Full Code Here

TOP

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

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.