You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Ekta Khanna (Jira)" <ji...@apache.org> on 2024/01/05 22:01:00 UTC

[jira] [Created] (MADLIB-1516) Allow empty string for Logistic and Linear regression

Ekta Khanna created MADLIB-1516:
-----------------------------------

             Summary: Allow empty string for Logistic and Linear regression
                 Key: MADLIB-1516
                 URL: https://issues.apache.org/jira/browse/MADLIB-1516
             Project: Apache MADlib
          Issue Type: Improvement
            Reporter: Ekta Khanna
             Fix For: v2.2.0


For most of the madlib traing functions we can pass an empty string "" (which is treated as a NULL) for the groupingCol. 
However, for madlib.logregr_train and madlib.linregr_train we need to explicitly pass NULL else it errors out with the following error if an empty string is passed in:
{code}
plpy.Error: Linregr error: Invalid grouping columns name!
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)