Package zdenekdrahos.AI.FeedForward

Examples of zdenekdrahos.AI.FeedForward.FeedForward


        NetworkTestUtil.assertNetworkWeights(network, expectedWeights);
    }

    private INetworkValues feedForwardNetwork() {
        IFeedForward feedForward = new FeedForward();
        return feedForward.buildNetwork(network, input);
    }
View Full Code Here


        //Printing.printNetworkWeights(network);
       
        System.out.println();
        System.out.println("Prediction");
       
        IFeedForward feedForward = new FeedForward();
        INetworkValues values;
        double excepted, real;
        for (int i = 0; i < input.length; i++) {
            values = feedForward.buildNetwork(network, input[i]);
            for (int j = 0; j < output[i].length; j++) {
                excepted = output[i][j];
                real = values.getNeuronValue(network.getOutputLayerIndex(), j);
                System.out.printf("Expected %f , but result %f\n", excepted, real);
            }           
View Full Code Here

    }

    private void loadDefaultSettings() {
        settings = new TrainingSettings();
        settings.separator = new DataSeparator();
        settings.feedForward = new FeedForward();
        settings.backPropagation = new BackPropagation();
        settings.simulation = new Simulation();
        settings.errorCalculator = new LeastSquares();
        settings.meanCalculator = new Mean();
    }
View Full Code Here

TOP

Related Classes of zdenekdrahos.AI.FeedForward.FeedForward

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.