Github user fmcquillan99 commented on a diff in the pull request:
https://github.com/apache/madlib/pull/205#discussion_r152636816
--- Diff: src/ports/postgres/modules/regress/linear.sql_in ---
@@ -183,16 +183,15 @@ FROM (
@par Prediction Function
The prediction function is as follows:
<pre class="syntax">
-linregr_predict(coef, col_ind)
+linregr_predict(col_ind, coef)
--- End diff --
Yes, you are correct. From
http://madlib.apache.org/docs/latest/linear_8sql__in.html
float8 linregr_predict | ( float8 [] | coef, float8 [] | col_ind_var)
I will revert and correct the examples
---