felipeangelimvieira / prophetverse

A multiverse of Prophet models for timeseries
https://prophetverse.com
Apache License 2.0
33 stars 3 forks source link

[FIX] Avoid numerical precision causing errors in _to_positive #86

Closed felipeangelimvieira closed 4 months ago

felipeangelimvieira commented 4 months ago

Add a jnp.clip to _to_positive to avoid errors due to numerical precision.

Closes #84

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.35%. Comparing base (26f5102) to head (5c611dd).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #86 +/- ## ======================================= Coverage 93.35% 93.35% ======================================= Files 26 26 Lines 1173 1173 ======================================= Hits 1095 1095 Misses 78 78 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.