com.groupbyinc.flux.search.aggregations.pipeline.movavg.SimulatedAnealingMinimizer.class Maven / Gradle / Ivy
???? 4 b Rcom/groupbyinc/flux/search/aggregations/pipeline/movavg/SimulatedAnealingMinimizer java/lang/Object SimulatedAnealingMinimizer.java $assertionsDisabled Z ()V
this TLcom/groupbyinc/flux/search/aggregations/pipeline/movavg/SimulatedAnealingMinimizer; minimize ?(Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel;Lcom/groupbyinc/flux/common/collect/EvictingQueue;[D)Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel;?6??C-???????? cost ?(Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel;Lcom/groupbyinc/flux/common/collect/EvictingQueue;[D)D
Jcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel 0com/groupbyinc/flux/common/collect/EvictingQueue [D neighboringModel N()Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel;
acceptanceProbability (DDD)D " #
$ java/lang/Math & random ()D ( )
' * newModel LLcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel; newCost D ap i I model train FLcom/groupbyinc/flux/common/collect/EvictingQueue; 2Lcom/groupbyinc/flux/common/collect/EvictingQueue; test temp minTemp
iterations alpha bestModel oldModel oldCost bestCost exp (D)D @ A
' B predict (Ljava/util/Collection;I)[D D E
F H java/lang/AssertionError J
K
abs M A
' N error predictions java/lang/Class S desiredAssertionStatus ()Z U V
T W Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable Signature ?(Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel;Lcom/groupbyinc/flux/common/collect/EvictingQueue;[D)Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel; ?(Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel;Lcom/groupbyinc/flux/common/collect/EvictingQueue;[D)D
SourceFile ! Y / *? ? Z
[ &