The input for this example is Customer but also includes "dssDB. Project_OutLinearRegression" which was the output table name specified in VAL Function Example: Linear Regression.
Input
inputs = ['titanic', 'Project_OutLinearRegression'] outputs = ['Project_OutLinearRegressionPredict'] ui = analytic_functions.Ui(outputs=outputs, function="Linear Regression Predict", inputs=inputs, export_settings="LinRegPredict.json")
Set the parameters
The following parameters are set:
- On the Required tab:
- For input_A_role, Table is set to titanic.
- For linear_regression, Table is set to Project_OutLinearRegression.
- On the Optional tab:
- Index Columns is set to SURVIVED.
- Response Column is set to fare.
- Accumulate is set to age and pclass.
Output
The Linear Regression Predict VAL table is shown, which is based on the Linear Regression VAL function.