opencog / rocca

Rational OpenCog Controlled Agent (ROCCA). Use OpenCog to control a rational agent in OpenAI Gym and Malmo environments.
GNU Affero General Public License v3.0
30 stars 18 forks source link

Divide by zero in `_beta_pdf` #58

Open ntoxeg opened 2 years ago

ntoxeg commented 2 years ago
[/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 commented 2 years ago

This also happens when running the Chase example.

@ngeiswei

ngeiswei commented 2 years ago

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.