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 2017/08/17 21:22:00 UTC

[jira] [Comment Edited] (MADLIB-1146) Elastic Net fails when used without normalization with grouping

    [ https://issues.apache.org/jira/browse/MADLIB-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131294#comment-16131294 ] 

Frank McQuillan edited comment on MADLIB-1146 at 8/17/17 9:21 PM:
------------------------------------------------------------------

Similar to https://issues.apache.org/jira/browse/MADLIB-1094

This was ostenisbly fixed with 
https://github.com/apache/incubator-madlib/pull/164

[~njayaram] can you please have a look ?


was (Author: fmcquillan):
Similar to https://issues.apache.org/jira/browse/MADLIB-1094

> Elastic Net fails when used without normalization with grouping
> ---------------------------------------------------------------
>
>                 Key: MADLIB-1146
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1146
>             Project: Apache MADlib
>          Issue Type: Bug
>            Reporter: Cooper Sloan
>            Priority: Minor
>
> ```
> DROP TABLE IF EXISTS house_en,house_en_summary;
> SELECT madlib.elastic_net_train(
>     'lin_housing_wi',
>     'house_en',
>     'y',
>     'x',
>     'gaussian',
>     0.5,
>     0.5,
>     False,
>     'grp_by_col',
>     'fista',
>     '',
>     NULL,
>     1,
>     1e-6
> );
> psql:/Users/csloan/elastic_net.sql:1: NOTICE:  table "house_en" does not exist, skipping
> psql:/Users/csloan/elastic_net.sql:1: NOTICE:  table "house_en_summary" does not exist, skipping
> DROP TABLE
> psql:/Users/csloan/elastic_net.sql:17: ERROR:  KeyError: 'select_grp'
> CONTEXT:  Traceback (most recent call last):
>   PL/Python function "elastic_net_train", line 27, in <module>
>     excluded, max_iter, tolerance)
>   PL/Python function "elastic_net_train", line 467, in elastic_net_train
>   PL/Python function "elastic_net_train", line 502, in _internal_elastic_net_train
>   PL/Python function "elastic_net_train", line 24, in _elastic_net_gaussian_fista_train
>   PL/Python function "elastic_net_train", line 171, in _elastic_net_fista_train
>   PL/Python function "elastic_net_train", line 297, in _elastic_net_fista_train_compute
>   PL/Python function "elastic_net_train", line 83, in _elastic_net_generate_result
> PL/Python function "elastic_net_train"
> ```



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)