You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Frank McQuillan (JIRA)" <ji...@apache.org> on 2018/08/06 19:59:00 UTC

[jira] [Created] (MADLIB-1262) Error for elastic net when the group column contains no-numeric characters

Frank McQuillan created MADLIB-1262:
---------------------------------------

             Summary: Error for elastic net when the group column contains no-numeric characters
                 Key: MADLIB-1262
                 URL: https://issues.apache.org/jira/browse/MADLIB-1262
             Project: Apache MADlib
          Issue Type: Bug
          Components: Module: Regularized Regression
            Reporter: Frank McQuillan
             Fix For: v1.15.1


Minor error for elastic net when the group column contains no-numeric characters.  

It can be fixed by changing the below code in elastic_net_generate_result.py

{code}
    grouping_info = "\'"+ '\',\''.join([str(res[grp_col.strip()])
                                      for grp_col in grouping_str1.split(',')
                                      if grp_col.strip() in res.keys()]) + "\',"
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)