UPDATE MODEL model_name USING method_name FROM input_stream
jubaql> UPDATE MODEL cls USING train FROM ds UPDATE MODEL
UPDATE MODEL connects a stream with a model:
When stream processing is started, the model will be updated with all items in the stream using the given method and the feature extractor attached to the model.
model_nameis the name of a model previously defined using
method_nameis the method to use for updating the model:
addfor an ANOMALY model,
trainfor a CLASSIFIER model,
update_rowfor a RECOMMENDER model.
input_streamis the stream to use as input. The data source that this stream is derived from must not yet be in process (or done with processing) when the statement is issued.