[
https://issues.apache.org/jira/browse/MADLIB-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16752849#comment-16752849
]
Frank McQuillan commented on MADLIB-983:
----------------------------------------
[~jingyimei] sure, but it's not that critical
> 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)