Package org.encog.ensemble

Examples of org.encog.ensemble.EnsembleTrainFactory


    trainingData = XOR.createXORDataSet();
    XOR.testXORDataSet(trainingData);
    trainingData = new EnsembleDataSet(trainingData);
    assertEquals(1,trainingData.getIdealSize());
    assertEquals(2,trainingData.getInputSize());
    EnsembleTrainFactory trainingStrategy = new ResilientPropagationFactory();
    MultiLayerPerceptronFactory mlpFactory = new MultiLayerPerceptronFactory();
    ArrayList<Integer> middleLayers = new ArrayList<Integer>();
    middleLayers.add(4);
    mlpFactory.setParameters(middleLayers, new ActivationSigmoid());
    MajorityVoting mv = new MajorityVoting();
View Full Code Here

TOP

Related Classes of org.encog.ensemble.EnsembleTrainFactory

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.