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)

Reply via email to