references TOC streaming algorithms outlier detection python libraries haskell bayesian statistics deep learning