Class NormalizedPositiveGradientDescent
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.enricher.optimizer.GradientDescent
-
- org.processmining.plugins.stochasticpetrinet.enricher.optimizer.NormalizedPositiveGradientDescent
-
public class NormalizedPositiveGradientDescent extends GradientDescent
-
-
Constructor Summary
Constructors Constructor Description NormalizedPositiveGradientDescent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidnormalize(double[] weights)protected voidpostProcessWeights(double[] theta)Renormalizes weights, such that their average is 1 and ensures they are all positive.-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.enricher.optimizer.GradientDescent
optimize
-
-
-
-
Method Detail
-
postProcessWeights
protected void postProcessWeights(double[] theta)
Renormalizes weights, such that their average is 1 and ensures they are all positive.- Overrides:
postProcessWeightsin classGradientDescent- Parameters:
theta- weights to be normalized
-
normalize
public static void normalize(double[] weights)
-
-