Bayesian Changepoint Detection in Python¶This code computes the probability of changepoints in a time series.7 In this notebook I show how you can use it. First let's generate some data: import numpy as np import matplotlib.pyplot as plt import seaborn from __future__ import division %matplotlib inline %load_ext autoreload %autoreload 2 def generate_normal_time_series(num, minl=50, maxl=1000): dat