The following example is shown in the end of the Tutorial.ipynb notebook. This notebook demonstrates the possible pipeline structure. In other words, the Linear Regression VAL output will be used as an input to Linear Regression VAL Predict.
The code has the input, output, function name, and export settings specified.
The export settings are configured for the notebook to automatically populate the function with the parameters.
Input
from teradatamlwidgets import analytic_functions
inputs = ['titanic'] outputs = ['Project_OutLinearRegression'] ui = analytic_functions.Ui(outputs=outputs, function="Linear Regression", inputs=inputs, export_settings="LinReg.json")
Set the parameters
The following parameters are set:
- On the Required tab:
- Table is set to titanic.
- Intputcolumns is set to age and pclass.
- Response Column is set to fare.
- On the Optional tab:
- No values are set for Group Bycolumns.
- Condition Index Threshold is set to 37.
- Entrance Criterion and Remove Criterion are set to 3.84.
- Variance Proportion Threshold is 0.5.
Output
Select Execute to see the resulting table. This table will be used as the input in VAL Example: Linear Regression Predict.