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