Class LongFire
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.fire.Fire<Long>
-
- org.apache.iotdb.tsfile.encoding.fire.LongFire
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.tsfile.encoding.fire.Fire
accumulator, bitWidth, delta, learnShift
-
-
Constructor Summary
Constructors Constructor Description LongFire(int learning_rate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Longpredict(Long value)predict the incoming integer using the last valuevoidreset()voidtrain(Long pre, Long val, Long err)train the learning machine with the last prediction
-
-
-
Method Detail
-
reset
public void reset()
-
predict
public Long predict(Long value)
Description copied from class:Firepredict the incoming integer using the last value
-
-