JiguangPeng / cbs

A simple implementation of the circular binary segmentation algorithm in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cbs

A simple implementation of the circular binary segmentation algorithm in python.

import cbs
data = cbs.generate_normal_time_series(10)
L = cbs.segment(data)

The resulting list L contains pairs (x,y) where each slice data[x:y] is a distinct segment of the data.

About

A simple implementation of the circular binary segmentation algorithm in python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%