public class UpdateManager
extends java.lang.Object
implements java.io.Serializable
GradientDescent.performStochasticGradientDescent(List, List, OmegaMatrix, double, double)
is invoked to compose a ProposedUpdate
. The UpdateManager will then
decide - based on the result of the CostFunctionCalculator
- which
updates to accept and which to reject.Visualizer
. Last but not least, the
SigmoidFunction.increaseSigmoidSigma(int)
is called in order to
update the sigmoid sigma value.Constructor and Description |
---|
UpdateManager(GMLVQCore gmlvqCore,
CostFunctionCalculator costFunctionCalculator,
Observer observer) |
Modifier and Type | Method and Description |
---|---|
double |
getOmegaLearningRate() |
double |
getPrototypeLearningRate() |
boolean |
update(ProposedUpdate proposedUpdate) |
public UpdateManager(GMLVQCore gmlvqCore, CostFunctionCalculator costFunctionCalculator, Observer observer) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public double getPrototypeLearningRate()
public double getOmegaLearningRate()
public boolean update(ProposedUpdate proposedUpdate) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.ExecutionException