Infosys在阅读器中打开 / AI 翻译

TE3520 | Analytics Service Tool · 0 次阅读

Linear Regression Inference

Linear Regression Inference 1:

The Linear Regression Inference function block calculates the linear combination of the inputs (Input 01 .. Input 0n) with the coefficients (Weights 00.. Weights 0n).

Linear Regression Inference 2:

The parameters Weights 00 to Weights 0n can either be set manually or automatically via a file generated by the Linear Regression Fitting function block by dragging / dropping onto the parameter field. Typically, the Linear Regression Fitting function block is first used to fit the weights for the regression of a target variable. Then, using the Linear Regression Inference function block and the fitted weights, the target variable can be predicted based on the input variables.

Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.

Configuration options

  • Num Channels: The number of channels that are correlated with the reference signal. This can be set via Add/Remove Channel
  • Weights00 .. Weights 0n: Specifies the coefficients that determine the linear combination to be calculated.
  • File Path (optional): File path to a file with previously determined parameters. The file is created by the Linear Regression Fitting module. File type: json or tas.

Output values

  • Result: Specifies the value calculated from the linear combination.

Standard HMI Controls

For the Linear Regression Inference algorithm, the following HMI controls are available for generating an Analytics Dashboard:

1. The Linear Regression Control visualizes the inputs and the calculated regression line. The buttons can be used to select the input channel to be displayed on the x axis. The y axis shows the target values of the regression. A new point is outlined in red, old points gradually fade.

Linear Regression Inference 3:

2. The Table Control or Multivalue Control visualizes all output values: MSE, result, output coefficients.

Linear Regression Inference 4:
Linear Regression Inference 5:
Linear Regression Inference 6:

Alternatively, customer-specific HMI controls can be mapped in the Linear Regression Inference algorithm using the Mapping Wizard.