You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@madlib.apache.org by GitBox <gi...@apache.org> on 2019/08/08 23:55:57 UTC
[GitHub] [madlib] makemebitter commented on a change in pull request #430:
Add generate mst table utility.
makemebitter commented on a change in pull request #430: Add generate mst table utility.
URL: https://github.com/apache/madlib/pull/430#discussion_r312287966
##########
File path: src/ports/postgres/modules/deep_learning/madlib_keras.sql_in
##########
@@ -1750,6 +1750,20 @@ CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.madlib_keras_fit(
$$ LANGUAGE sql VOLATILE
m4_ifdef(`__HAS_FUNCTION_PROPERTIES__', `MODIFIES SQL DATA');
+CREATE OR REPLACE FUNCTION MADLIB_SCHEMA.madlib_keras_generate_mst_table(
+ model_selection_table VARCHAR,
+ model_arch_table VARCHAR,
+ model_arch_id_list INTEGER[],
+ compile_params_list VARCHAR[],
+ fit_params_list VARCHAR[]
+) RETURNS VOID AS $$
+ PythonFunctionBodyOnly(`deep_learning', `madlib_keras_model_hopper_utilities')
+ with AOControl(False):
+ mst_generator = madlib_keras_model_hopper_utilities.GenerateMstTable(**globals())
+ mst_generator.generate()
+$$ LANGUAGE plpythonu VOLATILE
+m4_ifdef(`__HAS_FUNCTION_PROPERTIES__', `MODIFIES SQL DATA', `');
+
Review comment:
Yes it's for later
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services