Package com.heatonresearch.aifh.learning

Examples of com.heatonresearch.aifh.learning.TrainGreedyRandom


     */
    public void process() {
        final List<BasicData> trainingData = generateTrainingData();
        final PolynomialFn poly = new PolynomialFn(3);
        final ScoreFunction score = new ScoreRegressionData(trainingData);
        final TrainGreedyRandom train = new TrainGreedyRandom(true, poly, score);
        performIterations(train, 1000000, 0.01, true);
        System.out.println(poly.toString());
    }
View Full Code Here


     */
    public void process() {
        final List<BasicData> trainingData = BasicData.convertArrays(XOR_INPUT, XOR_IDEAL);
        final RBFNetwork network = new RBFNetwork(2, 5, 1);
        final ScoreFunction score = new ScoreRegressionData(trainingData);
        final TrainGreedyRandom train = new TrainGreedyRandom(true, network, score);
        performIterations(train, 1000000, 0.01, true);
        query(network, trainingData);
    }
View Full Code Here

            final List<BasicData> trainingData = ds.extractSupervised(0, 4, 4, 2);

            final RBFNetwork network = new RBFNetwork(4, 4, 2);
            final ScoreFunction score = new ScoreRegressionData(trainingData);
            final TrainGreedyRandom train = new TrainGreedyRandom(true, network, score);
            performIterations(train, 100000, 0.01, true);
            queryEquilateral(network, trainingData, species, 0, 1);


        } catch (Throwable t) {
View Full Code Here

TOP

Related Classes of com.heatonresearch.aifh.learning.TrainGreedyRandom

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.