Topics in recurrent event prediction with generalized non-homogeneous Poisson process (NHPP) and electronic circuit troubleshooting with Bayesian inference