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

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

Cooper Sloan created MADLIB-1146:
------------------------------------

             Summary: 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


```
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)