Linear Model block
Description
This block implements a linear regression. The linear model must be trained and tested before it may be implemented. For more information on the linear model block see the overview of linear regression.
Diagram of the linear model block
Block Type
Rules & Models block
Input/Output ports
The block contains one input port that must contain double input fields. The output port of the block contains the output field of the linear model. The output field name can be modified in the block configuration.
In order for this block to run, the model must be trained and the input port must contain exactly the same field names that were used when it was trained.
Functions performed on tags
-
On the values - The input values are sent through the linear model and the, calculated, output value(s) of the model are placed in the output fields.
-
On the timestamp - The time stamp of the output fields will be set to the newest time stamp of the input fields.
-
On the quality - If any one of the input values is of bad quality, the output value(s) will also be of bad quality
Related topics: