MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / setEta

Method setEta

JSAT/src/jsat/classifiers/linear/SMIDAS.java:90–95  ·  view source on GitHub ↗

Sets the learning rate used during training @param eta the learning rate to use

(double eta)

Source from the content-addressed store, hash-verified

88 * @param eta the learning rate to use
89 */
90 public void setEta(double eta)
91 {
92 if(Double.isNaN(eta) || Double.isInfinite(eta) || eta <= 0)
93 throw new ArithmeticException("convergence parameter must be a positive value");
94 this.eta = eta;
95 }
96
97 /**
98 * Returns the current learning rate used during training

Callers 1

SMIDASMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected