UIS-RNN is an online algorithm, but the current predict() API of this library is not.
If people want to deploy this library to a production environment for online use cases, an online_predict() API is going to be necessary.
Its usage should be like this:
# Feed the first sequence, and continuously make use of the label.
label = model.online_predict(X1)
label = model.online_predict(X2)
label = model.online_predict(X3)
model.online_predict(reset=True)
# Feed the second sequence, and continuously make use of the label.
label = model.online_predict(Y1)
label = model.online_predict(Y2)
label = model.online_predict(Y3)
label = model.online_predict(Y4)
model.online_predict(reset=True)
However, we may not have the bandwidth to work on this any time soon.