
com.groupbyinc.flux.search.aggregations.pipeline.movavg.models.HoltLinearModel.class Maven / Gradle / Ivy
???? 3 ? Ncom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/HoltLinearModel Jcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel HoltLinearModel.java ecom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/HoltLinearModel$HoltLinearModelBuilder HoltLinearModelBuilder ccom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/HoltLinearModel$DoubleExpModelParser DoubleExpModelParser Pcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/HoltLinearModel$1 Xcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModelStreams$Stream Qcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModelStreams Stream
NAME_FIELD 'Lcom/groupbyinc/flux/common/ParseField; alpha D beta STREAM ZLcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModelStreams$Stream; $assertionsDisabled Z (DD)V ()V
! # this PLcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/HoltLinearModel; canBeMinimized ()Z neighboringModel N()Lcom/groupbyinc/flux/search/aggregations/pipeline/movavg/models/MovAvgModel; java/lang/Math + random ()D - .
, /@
3 5 java/lang/AssertionError 7 (Random value fell outside of range [0-1] 9 (Ljava/lang/Object;)V ;
8 < newValue clone doPredict (Ljava/util/Collection;I)[D next B A
C values Ljava/util/Collection; Ljava/util/Collection; numPredictions I (Ljava/util/Collection;)D java/util/Collection K size ()I M N L O emptyPredictions (I)[D Q R
S iterator ()Ljava/util/Iterator; U V L W java/util/Iterator Y hasNext [ ( Z \ ()Ljava/lang/Object; B ^ Z _ java/lang/Number a doubleValue c .
b d [D f v TT; Ljava/lang/Number; last i numForecasts s last_s b last_b counter forecastValues writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V java/io/IOException v x getName ()Ljava/lang/String; z { | 1com/groupbyinc/flux/common/io/stream/StreamOutput ~ writeString (Ljava/lang/String;)V ? ?
? writeDouble (D)V ? ?
? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; $java/lang/CloneNotSupportedException ? ? *
? java/lang/Class ? desiredAssertionStatus ? (
? ? %com/groupbyinc/flux/common/ParseField ? holt ? java/lang/String ? ((Ljava/lang/String;[Ljava/lang/String;)V ?
? ? ?
Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature 6(Ljava/util/Collection;I)[D 4(Ljava/util/Collection;)D
Exceptions
SourceFile InnerClasses !
? Y *? *'? "*)? $? ? % &