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)
|
| 从类 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.