rocca icon indicating copy to clipboard operation
rocca copied to clipboard

Divide by zero in `_beta_pdf`

Open ntoxeg opened this issue 3 years ago • 2 comments
trafficstars

[/usr/local/lib/python3.10/dist-packages/scipy/stats/_continuous_distns.py:608](): RuntimeWarning: divide by zero encountered in _beta_pdf
  return _boost._beta_pdf(x, a, b)

Happens while running the Cartpole notebook, during the learning phase.

ntoxeg avatar Feb 14 '22 11:02 ntoxeg

This also happens when running the Chase example.

@ngeiswei

ntoxeg avatar Feb 15 '22 13:02 ntoxeg

I know, it's coming from the differential entropy filter. I've decided to disable it by default for now, no one (including myself) is using it at the moment anyway.

ngeiswei avatar Feb 16 '22 04:02 ngeiswei