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 2019/02/21 01:23:00 UTC

[jira] [Commented] (MADLIB-983) SVD minor messaging improvements

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

Frank McQuillan commented on MADLIB-983:
----------------------------------------

https://github.com/apache/madlib/pull/347

> SVD minor messaging improvements
> --------------------------------
>
>                 Key: MADLIB-983
>                 URL: https://issues.apache.org/jira/browse/MADLIB-983
>             Project: Apache MADlib
>          Issue Type: Improvement
>          Components: Module: Matrix Factorisation
>            Reporter: Frank McQuillan
>            Assignee: Himanshu Pandey
>            Priority: Minor
>             Fix For: v1.16
>
>
> Error message is cryptic:
> ERROR: plpy.SPIError: plpy.Error: SVD error: Number of Lanczos iterations should be in the range of [10, 10] (plpython.c:4648)
> SQL state: XX000
> Context: Traceback (most recent call last):
>   PL/Python function "svd", line 25, in <module>
>     row_id, k, n_iterations, result_summary_table)
>   PL/Python function "svd", line 84, in svd
>   PL/Python function "svd", line 536, in _svd_upper_wrap
>   PL/Python function "svd", line 598, in _svd_upper
> PL/Python function "svd"
> Should have a better error message that says nIterations is in range [k, col_dim]
> Code snippet is:
> elif nIterations < k or nIterations > col_dim:
>        plpy.error("SVD error: Number of Lanczos iterations should be"
>                   " in the range of [{0}, {1}]".format(k, col_dim))



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)