Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] charts: non-invertible matrix returns NaN as predicted data #5202

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Commits on Nov 14, 2024

  1. [FIX] charts: non-invertible matrix returns NaN as predicted data

    Task Description
    
    When trying to make a trending line, almost all model use matrix
    computation to get the predicted data, with some matrix
    multiplications and inversions. When the matrixes aren't invertible
    the user get a traceback, which is not fine.
    This PR aims to fix these issues by returning an array of NaN when
    there is an error in the computation of the predicted dataset.
    
    Related Task
    
    Task: 4328743
    anhe-odoo committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    8ff8278 View commit details
    Browse the repository at this point in the history