IDAX.PREDICT_LINEAR_REGRESSION - Apply a linear regression model to a target
Use this stored procedure to apply a linear regression model to a target.
Authorities
The privileges held by the authorization ID of the statement must include the IDAX_USER role. Additionally, you must be the owner of the model or have the SELECT privilege on the source model.
Syntax
IDAX.PREDICT_LINEAR_REGRESSION(in parameter_string varchar(32672))
Parameter descriptions
- parameter_string
- Mandatory one-string parameter that contains pairs of <parameter>=<value> entries that are separated by a comma.
Returned information
If the PREDICT_LINEAR_REGRESSION stored procedure is completed successfully, the following string as a result set, where t means true.
Result set 1
--------------
PREDICT_LINEAR_REGRESSION
-------------------------
t
1 record(s) selected.
Return Status = 0
Example
CALL IDAX.PREDICT_LINEAR_REGRESSION('model=adult_linreg, intable=adult_score, outtable=adult_results, id=id');