madlib-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LUYAO CHEN <luyao_c...@hotmail.com>
Subject An error for elastic net
Date Mon, 06 Aug 2018 18:59:41 GMT
Dear user group,


I found a 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


    grouping_info = "\'"+ '\',\''.join([str(res[grp_col.strip()])

                                      for grp_col in grouping_str1.split(',')

                                      if grp_col.strip() in res.keys()]) + "\',"



Regards,

Luyao Chen

Mime
View raw message