public class RampLoss extends java.lang.Object implements IUpdateRule
Constructor and Description |
---|
RampLoss() |
public void init(java.util.ArrayList<java.lang.Double> args)
init
in interface IUpdateRule
public Vector update(Vector currentWeights, Example example, ClassifierData classifierData)
update
in interface IUpdateRule
currentWeights
- - the current weightsexample
- - a single exampleclassifierData
- - all the additional data that needed such as: loss function, inference, etc.