Frank McQuillan created MADLIB-1481:
---------------------------------------

             Summary: DL: Passing null or temporal for sample_weight_mode 
errors out
                 Key: MADLIB-1481
                 URL: https://issues.apache.org/jira/browse/MADLIB-1481
             Project: Apache MADlib
          Issue Type: Bug
          Components: Deep Learning
            Reporter: Frank McQuillan
             Fix For: v1.19.0


Passing sample_weight_mode as 'temporal' or NULL fails with the following error 
although both these are valid values.

Also we don't support sample_weight as a compile param, so maybe supporting 
sample_weight_mode makes doesn't really add value

{code}
ERROR:  spiexceptions.InternalError: plpy.Error: invalid input value for 
parameter sample_weight_mode=temporal, please refer to the documentation
{code}
The actual failure for sample_weight_mode = 'temporal' should be something like
{code}
use of '
                            'sample_weight_mode="temporal") is restricted to '
                            'outputs that are at least 3D, i.e. that have '
                            'a time dimension
{code}



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

Reply via email to