You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An intuitive solution is to simply state that the data is converged in such cases with identical elements, but perhaps I am missing something about the statistics so I'll leave the PR to someone else 😅
The text was updated successfully, but these errors were encountered:
On further inspection, the problem occurs for metrics only if:
All data is equal AND bounds are not set, or
Bounds are set by user to equal values (which raises other questions)
The issue is present for all invocations of convergence_test(). E.g. for KPIs it occurs if all values are equal (as bounds are always set to max(), min()).
In
analysis_metric()
, if all elements in "y-axis" data are the same (i.e. min and max are identical), it leads to a division by zero in the convergence test, see https://github.com/romain-jacob/triscale/blob/master/helpers.py#L66 and two lines above.The issue can easily be reproduced:
An intuitive solution is to simply state that the data is converged in such cases with identical elements, but perhaps I am missing something about the statistics so I'll leave the PR to someone else 😅
The text was updated successfully, but these errors were encountered: