Class LongFire
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.fire.Fire<java.lang.Long>
-
- org.apache.iotdb.tsfile.encoding.fire.LongFire
-
public class LongFire extends Fire<java.lang.Long>
-
-
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 java.lang.Longpredict(java.lang.Long value)predict the incoming integer using the last valuevoidreset()voidtrain(java.lang.Long pre, java.lang.Long val, java.lang.Long err)train the learning machine with the last prediction
-
-
-
Method Detail
-
reset
public void reset()
-
predict
public java.lang.Long predict(java.lang.Long value)
Description copied from class:Firepredict the incoming integer using the last value
-
train
public void train(java.lang.Long pre, java.lang.Long val, java.lang.Long err)Description copied from class:Firetrain the learning machine with the last prediction
-
-