The Linear Regression function is composed of the functions LinReg and LinRegInternal. LinRegInternal takes a data set and outputs a linear regression model. LinReg takes the linear regression model and outputs its coefficients. The 0th coefficient corresponds to the slope intercept.
The output of the Linear Regression function can be input to the LinRegPredict (ML Engine) function (as the model table).