Description
Although I could not reproduce it with a unit test, it is theoretically possible to have weights be updated to Infinite or NaN due to double multiplication over / underflow.
A simple check should be introduced in the case of estimates not being finite to reset weights.