Kevin created MADLIB-1470:
-----------------------------

             Summary: mlp_classification and weights
                 Key: MADLIB-1470
                 URL: https://issues.apache.org/jira/browse/MADLIB-1470
             Project: Apache MADlib
          Issue Type: Question
          Components: Module: Neural Networks
            Reporter: Kevin


Trying to use mlp_classification with Greenplum

Doc states weights should be numeric column

Have tried  following specifications (column name  specified: 'target_weight')

target_weight numeric(5,3)

target_weight numeric(4,3)

 

but I get following error when attempting to use function mlp_classification 
with above specification:

ERROR: plpy.Error: MLP error: Weights should be a numeric type (plpy_elog.c:121)
CONTEXT: Traceback (most recent call last):
 PL/Python function "mlp_classification", line 33, in <module>
  grouping_col)
 PL/Python function "mlp_classification", line 42, in wrapper
 PL/Python function "mlp_classification", line 116, in mlp
 PL/Python function "mlp_classification", line 740, in 
_validate_params_based_on_minibatch
 PL/Python function "mlp_classification", line 123, in _assert
PL/Python function "mlp_classification"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to