Package org.encog.engine.opencl.kernels

Examples of org.encog.engine.opencl.kernels.KernelNetworkTrain


    this.learningType = TrainFlatNetworkOpenCL.LEARN_BPROP;

    final Map<String, String> options = getOptions("LEARN_BPROP");

    this.kernel = new KernelNetworkTrain(this.profile.getDevice(),
        this.network, this.training,
        this.network.getWeights().length + 2);
    this.kernel.compile(options, this.profile, this.network);

    this.kernel.getTempDataArray()[0] = (float) learningRate;
View Full Code Here


    this.learningType = TrainFlatNetworkOpenCL.LEARN_MANHATTAN;
    this.learningRate = learningRate;

    final Map<String, String> options = getOptions("LEARN_MANHATTAN");

    this.kernel = new KernelNetworkTrain(this.profile.getDevice(),
        this.network, this.training, 1);
    this.kernel.compile(options, this.profile, this.network);

    this.kernel.getTempDataArray()[0] = (float) learningRate;
  }
View Full Code Here

    this.initialUpdate = initialUpdate;
    this.maxStep = maxStep;

    final Map<String, String> options = getOptions("LEARN_RPROP");

    this.kernel = new KernelNetworkTrain(this.profile.getDevice(),
        this.network, this.training,
        this.network.getWeights().length * 2);

    this.kernel.compile(options, this.profile, this.network);

View Full Code Here

TOP

Related Classes of org.encog.engine.opencl.kernels.KernelNetworkTrain

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.