public class ProposedUpdate
extends java.lang.Object
incorporate(DataPoint)
method which processes
individual data points selected by the GradientDescent
and utilizes
their information to build the potential update. The UpdateManager
will subsequently decide whether the update failed and should be rejected or
if either the updated prototypes or the update omega matrix will be used for
the next epoch.Constructor and Description |
---|
ProposedUpdate(java.util.List<Prototype> prototypes,
SigmoidFunction sigmoidFunction,
OmegaMatrix omegaMatrix,
double alphaW,
double alphaO,
CostFunctionCalculator costFunctionCalculator) |
ProposedUpdate(java.util.List<Prototype> prototypes,
SigmoidFunction sigmoid,
OmegaMatrix omegaMatrix,
double alphaW,
double alphaO,
java.util.List<ProposedUpdate> proposedUpdates,
CostFunctionCalculator costFunctionCalculator) |
Modifier and Type | Method and Description |
---|---|
OmegaMatrix |
getUpdatedOmegaMatrix() |
java.util.List<Prototype> |
getUpdatedPrototypes() |
void |
incorporate(DataPoint dataPoint)
analyzes the given data point and its
WinningInformation (such as
the closest prototypes and their distances), this information is added to
the prototype and omega deltas |
public ProposedUpdate(java.util.List<Prototype> prototypes, SigmoidFunction sigmoidFunction, OmegaMatrix omegaMatrix, double alphaW, double alphaO, CostFunctionCalculator costFunctionCalculator)
public ProposedUpdate(java.util.List<Prototype> prototypes, SigmoidFunction sigmoid, OmegaMatrix omegaMatrix, double alphaW, double alphaO, java.util.List<ProposedUpdate> proposedUpdates, CostFunctionCalculator costFunctionCalculator)
public void incorporate(DataPoint dataPoint)
WinningInformation
(such as
the closest prototypes and their distances), this information is added to
the prototype and omega deltasdataPoint
- public OmegaMatrix getUpdatedOmegaMatrix()
public java.util.List<Prototype> getUpdatedPrototypes()