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/17 20:32:00 UTC

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

     [ https://issues.apache.org/jira/browse/MADLIB-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank McQuillan closed MADLIB-1262.
-----------------------------------
    Resolution: Fixed

> 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
>            Priority: Minor
>             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)