Class Fire<T extends Comparable<T>>
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.fire.Fire<T>
-
public abstract class Fire<T extends Comparable<T>> extends Object
This class is used for Fast Integer REgression in Sprintz encoding method.Users can create a Fire object and use it to train and predict the time-ordered integer-like data.
-
-
Field Summary
Fields Modifier and Type Field Description protected intaccumulatorprotected intbitWidthprotected Tdeltaprotected intlearnShift
-
Constructor Summary
Constructors Constructor Description Fire(int learning_rate)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Tpredict(T value)predict the incoming integer using the last valueabstract voidtrain(T pre, T val, T err)train the learning machine with the last prediction
-
-
-
Field Detail
-
learnShift
protected int learnShift
-
bitWidth
protected int bitWidth
-
accumulator
protected int accumulator
-
delta
protected T extends Comparable<T> delta
-
-