Package zdenekdrahos.AI.Training.Builder

Examples of zdenekdrahos.AI.Training.Builder.ITrainingBuilder


        in.learningRate = 0.1;
        in.momentum = 0;
        in.inputs = input;
        in.targets = output;

        ITrainingBuilder trainBuilder = new TrainingBuilder();
        ITraining train = trainBuilder.build();
        TrainingOutput out = new TrainingOutput(0.00005);
        train.train(network, in, out);
        System.out.printf("Solution in %d iteration, minError = %f, lastError: %f\n\n", out.lastIterationNumber, out.minError, out.lastError);

        final XYSeries series2 = new XYSeries("Prediction");
View Full Code Here


    private TrainingInput input;
    private INeuralNetwork network;
    private INetworkBuilder networkBuilder;

    public BackPropagationController() {
        ITrainingBuilder trainBuilder = new TrainingBuilder();
        train = trainBuilder.build();
        networkBuilder = new NetworkBuilder();
    }
View Full Code Here

        in.learningRate = 0.8;
        in.momentum = 0.798;
        in.inputs = input;
        in.targets = output;
       
        ITrainingBuilder trainBuilder = new TrainingBuilder();
        ITraining train = trainBuilder.build();
        TrainingOutput out = new TrainingOutput(0.01);
        train.train(network, in, out);
        System.out.printf("Solution in %d iteration, minError = %f, lastError: %f\n\n", out.lastIterationNumber, out.minError, out.lastError);       
        //Printing.printNetworkWeights(network);
       
View Full Code Here

TOP

Related Classes of zdenekdrahos.AI.Training.Builder.ITrainingBuilder

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.