Class Fire<T extends java.lang.Comparable<T>>
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.fire.Fire<T>
-
public abstract class Fire<T extends java.lang.Comparable<T>> extends java.lang.ObjectThis 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
-