jsat.math.decayrates
Class NoDecay
- java.lang.Object
-
- jsat.math.decayrates.NoDecay
-
- All Implemented Interfaces:
- java.io.Serializable, DecayRate
public class NoDecay extends java.lang.Object implements DecayRate
A possible value for a decaying learning rate. NoDecay will perform no decaying of the initial value, the initial value will always be returned regardless of the input.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NoDecay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DecayRateclone()doublerate(double time, double initial)Decays the initial value over time.doublerate(double time, double maxTime, double initial)Decays the initial value over time.java.lang.StringtoString()
-
-
-
Method Detail
-
rate
public double rate(double time, double maxTime, double initial)Description copied from interface:DecayRateDecays the initial value over time.
-
rate
public double rate(double time, double initial)Description copied from interface:DecayRateDecays the initial value over time.
-
clone
public DecayRate clone()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG