Github user njayaram2 commented on a diff in the pull request: https://github.com/apache/incubator-madlib/pull/149#discussion_r128100838 --- Diff: src/ports/postgres/modules/convex/mlp_igd.py_in --- @@ -0,0 +1,734 @@ +# coding=utf-8 +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +""" +@file mlp_igd.py_in + +@brief Multilayer perceptron using IGD: Driver functions + +@namespace mlp_igd +""" +import plpy + +from utilities.control import MinWarning +from utilities.utilities import add_postfix +from utilities.utilities import py_list_to_sql_string +from utilities.utilities import extract_keyvalue_params +from utilities.utilities import _assert +from utilities.utilities import unique_string +from utilities.utilities import strip_end_quotes + +from utilities.validate_args import cols_in_tbl_valid +from utilities.validate_args import input_tbl_valid +from utilities.validate_args import is_var_valid +from utilities.validate_args import output_tbl_valid +from utilities.validate_args import get_expr_type +from utilities.validate_args import array_col_has_same_dimension +from utilities.validate_args import array_col_dimension + + +def mlp(schema_madlib, source_table, output_table, independent_varname, + dependent_varname, hidden_layer_sizes, + optimizer_param_str, activation, is_classification, **kwargs): + """ + Args: + @param schema_madlib + @param source_table + @param output_table + @param independent_varname + @param dependent_varname + @param hidden_layer_sizes + @param optimizer_param_str + + Returns: + None + """ + with MinWarning('info'): --- End diff -- `info` -> `warning`?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---