Frank McQuillan commented on MADLIB-1172:

Do you think this sort of logic makes sense?

case 1: 
If no grouping and underflow/overflow
If grouping and underflow/overflow for all groups
Error out with appropriate message

case 2:
If grouping and at least one valid solution (i.e., at least one group OK)
Continue but print warning message showing the invalid groups.

Looks like case 2 is what happens today, more or less.
Can you also check what happens in predict with case 2 to make sure it is
handled gracefully?

> Logistic regression produces empty output table but no error message on 
> Greenplum
> ---------------------------------------------------------------------------------
>                 Key: MADLIB-1172
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1172
>             Project: Apache MADlib
>          Issue Type: Bug
>          Components: Module: Logistic Regression
>            Reporter: Frank McQuillan
>            Assignee: Himanshu Pandey
>            Priority: Minor
>             Fix For: v1.15
>         Attachments: Logistic-regression-empty-output.ipynb, 
> load-data-sep.sql, load-data-singular.sql, load-data.sql
> Separated and singular data sets may produce and empty model table on 
> Greenplum 4.3.x.  On Postgres 9.6 the same example works OK. 
> See the attache jupyter notebook and data sets for details.

This message was sent by Atlassian JIRA

Reply via email to