ml.shifu.guagua.yarn.example.nn
类 Weight

java.lang.Object
  继承者 ml.shifu.guagua.yarn.example.nn.Weight

public class Weight
extends Object

Weight is used to update NN weights according to propagation option. Which is also copied from Encog.

We'd like to reuse code from Encog but unfortunately the methods are private:(.


构造方法摘要
Weight(int numWeight, double numTrainSize, double rate, String algorithm)
           
 
方法摘要
 double[] calculateWeights(double[] weights, double[] gradients)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Weight

public Weight(int numWeight,
              double numTrainSize,
              double rate,
              String algorithm)
方法详细信息

calculateWeights

public double[] calculateWeights(double[] weights,
                                 double[] gradients)


Copyright © 2014. All Rights Reserved.