You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by ri...@apache.org on 2018/04/23 20:40:59 UTC

madlib git commit: MLP: Set min messages to error for predict

Repository: madlib
Updated Branches:
  refs/heads/master 4cced1b13 -> 0e1161c0d


MLP: Set min messages to error for predict


Project: http://git-wip-us.apache.org/repos/asf/madlib/repo
Commit: http://git-wip-us.apache.org/repos/asf/madlib/commit/0e1161c0
Tree: http://git-wip-us.apache.org/repos/asf/madlib/tree/0e1161c0
Diff: http://git-wip-us.apache.org/repos/asf/madlib/diff/0e1161c0

Branch: refs/heads/master
Commit: 0e1161c0d4de0a81a318016f81ad661e114e34ec
Parents: 4cced1b
Author: Rahul Iyer <ri...@apache.org>
Authored: Mon Apr 23 13:40:10 2018 -0700
Committer: Rahul Iyer <ri...@apache.org>
Committed: Mon Apr 23 13:40:10 2018 -0700

----------------------------------------------------------------------
 src/ports/postgres/modules/convex/mlp_igd.py_in | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/madlib/blob/0e1161c0/src/ports/postgres/modules/convex/mlp_igd.py_in
----------------------------------------------------------------------
diff --git a/src/ports/postgres/modules/convex/mlp_igd.py_in b/src/ports/postgres/modules/convex/mlp_igd.py_in
index 8e3bccf..2cfa12f 100644
--- a/src/ports/postgres/modules/convex/mlp_igd.py_in
+++ b/src/ports/postgres/modules/convex/mlp_igd.py_in
@@ -877,6 +877,8 @@ def _get_minibatch_param_from_mlp_model_summary(summary_dict, param,
 
     return None
 
+
+@MinWarning("error")
 def mlp_predict(schema_madlib, model_table, data_table, id_col_name,
                 output_table, pred_type='response', **kwargs):
     """ Score new observations using a trained neural network