[
https://issues.apache.org/jira/browse/MADLIB-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479899#comment-16479899
]
Frank McQuillan commented on MADLIB-1172:
-----------------------------------------
Do you think this sort of logic makes sense?
case 1:
{code}
If no grouping and underflow/overflow
OR
If grouping and underflow/overflow for all groups
THEN
Error out with appropriate message
{code}
case 2:
{code}
If grouping and at least one valid solution (i.e., at least one group OK)
THEN
Continue but print warning message showing the invalid groups.
{code}
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
(v7.6.3#76005)