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