You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/06/09 17:12:00 UTC

[jira] [Commented] (NIFI-7516) Predictions model throws intermittent SingularMatrixExceptions

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

Matt Burgess commented on NIFI-7516:
------------------------------------

It may be more trouble than it is worth to detect a singular matrix ahead of trying to make the predictions, I recommend just logging the issue at the debug level

> Predictions model throws intermittent SingularMatrixExceptions
> --------------------------------------------------------------
>
>                 Key: NIFI-7516
>                 URL: https://issues.apache.org/jira/browse/NIFI-7516
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Matt Burgess
>            Priority: Major
>
> Under some circumstances, the Connection Status Analytics model (specifically the Ordinary Least Squares model) throws a SingularMatrix exception:
> org.apache.commons.math3.linear.SingularMatrixException: matrix is singular
> This can happen (usually intermittently) when the data points used to update the model form a matrix that has no inverse (i.e. singular).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)