R-implementation of Markov Modulated Poisson Process for unsupervised event detection in time series of counts data. Please see the associated tutorial here.