Examples of NetworkBuilder


Examples of zdenekdrahos.AI.NeuralNetwork.Builder.NetworkBuilder

    private INetworkBuilder networkBuilder;

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

Examples of zdenekdrahos.AI.NeuralNetwork.Builder.NetworkBuilder

    static double[][] output = {
        {0}, {1}, {1}, {0},
    };
   
    public static void main(String[] args) {
        INetworkBuilder builder = new NetworkBuilder();
       
        int[] topology = {2, 3, 1};
        Activations[] activations = {Activations.LIN, Activations.TANH, Activations.LIN};       
        INeuralNetwork network = builder.build(topology, activations);
        Printing.printNetworkWeights(network);
       
        TrainingInput in = new TrainingInput();
        in.iterationsCount = 3000;
        in.learningRate = 0.8;
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.