PREDICT_PLS_REG
Applies a PLS regression model on an input relation and returns the predicted values.
	Applies a PLS_REG model to an input relation and returns a predicted FLOAT value for each row in the input relation.
Syntax
PREDICT_PLS_REG ( input-columns
        USING PARAMETERS param=value[,...] )
Arguments
- input-columns
- Comma-separated list of predictor columns to use from the input relation or asterisk (*) to select all columns.
Parameters
- model_name
- Name of the model (case-insensitive). 
- match_by_pos
- Boolean value that specifies how input columns are matched to model features: - 
true: Match by the position of columns in the input columns list.
- 
false(default): Match by name.
 
- 
Examples
The following example uses the monarch_pls model to make predictions on the monarch_test input relation:
=> SELECT PREDICT_PLS_REG (* USING PARAMETERS model_name='monarch_pls') FROM monarch_test;
 PREDICT_PLS_REG
------------------
 2.88462577469318
 2.86535009598611
 2.84138719904564
  2.7222022770597
 3.96163608455087
 3.30690898656628
 2.99904802221049
 (7 rows)
For an in-depth example, see PLS regression.