This is just a small change in the docs of pw_normal. The line n = 500, 3 # number of samples is not working.
import numpy as np
import matplotlib.pylab as plt
import ruptures as rpt
# creation of data
n = 500, 3 # number of samples
n_bkps = 3 # number of change points, noise standart deviation
signal, bkps = rpt.pw_normal(n, n_bkps)
rpt.display(signal, bkps)
->
import numpy as np
import matplotlib.pylab as plt
import ruptures as rpt
# creation of data
n = 500 # number of samples
n_bkps = 3 # number of change points
signal, bkps = rpt.pw_normal(n, n_bkps)
rpt.display(signal, bkps)
This is just a small change in the docs of
pw_normal
. The linen = 500, 3 # number of samples
is not working.->