Skip to main content

Bayesian Change Point Segmentation

Build Status PyPI version Coffee

Bayesian Change Point Segmentation (BCPS).

Install

If you dont already have numpy and scipy installed, it is best to download Anaconda, a python distribution that has them included.

    https://continuum.io/downloads

Dependencies can be installed by:

    pip install -r requirements.txt

PyPI install, presuming you have all its requirements installed:

	pip install bcpseg

Usage

from bcpseg import bcpseg
import numpy as np

# Create data
np.random.seed(10)
x = np.random.random(300000)
x[10000:20000] = x[10000:20000] + 0.1
x[25000:27000] = x[25000:27000] - 1

# Calculate segments
segments = bcpseg(x)
for segment in segments:
   print(segment)

Metadata

Release files for bcpseg 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bcpseg 1.0.0
File Size Uploaded
bcpseg-1.0.0.tar.gz 135.8 kB Details

Release files / bcpseg-1.0.0.tar.gz

Download URL bcpseg-1.0.0.tar.gz
Size 135.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e92a510d9e671ee8b83f9adf0b35bd7dba1e63327524c8e4b8f1476effe26a8a
BLAKE2b-256 checksum
How to use checksums
193783fa3afddec2f1bce9df458fb5095d6a9d13baff318d95f4a3a2a3ddb1a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page